/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
#include
namespace Aws
{
template
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace MediaLive
{
namespace Model
{
/**
* Placeholder documentation for DescribeInputSecurityGroupResponseSee
* Also:
AWS
* API Reference
*/
class DescribeInputSecurityGroupResult
{
public:
AWS_MEDIALIVE_API DescribeInputSecurityGroupResult();
AWS_MEDIALIVE_API DescribeInputSecurityGroupResult(const Aws::AmazonWebServiceResult& result);
AWS_MEDIALIVE_API DescribeInputSecurityGroupResult& operator=(const Aws::AmazonWebServiceResult& result);
/**
* Unique ARN of Input Security Group
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* Unique ARN of Input Security Group
*/
inline void SetArn(const Aws::String& value) { m_arn = value; }
/**
* Unique ARN of Input Security Group
*/
inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
/**
* Unique ARN of Input Security Group
*/
inline void SetArn(const char* value) { m_arn.assign(value); }
/**
* Unique ARN of Input Security Group
*/
inline DescribeInputSecurityGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* Unique ARN of Input Security Group
*/
inline DescribeInputSecurityGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* Unique ARN of Input Security Group
*/
inline DescribeInputSecurityGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
/**
* The Id of the Input Security Group
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* The Id of the Input Security Group
*/
inline void SetId(const Aws::String& value) { m_id = value; }
/**
* The Id of the Input Security Group
*/
inline void SetId(Aws::String&& value) { m_id = std::move(value); }
/**
* The Id of the Input Security Group
*/
inline void SetId(const char* value) { m_id.assign(value); }
/**
* The Id of the Input Security Group
*/
inline DescribeInputSecurityGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* The Id of the Input Security Group
*/
inline DescribeInputSecurityGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* The Id of the Input Security Group
*/
inline DescribeInputSecurityGroupResult& WithId(const char* value) { SetId(value); return *this;}
/**
* The list of inputs currently using this Input Security Group.
*/
inline const Aws::Vector& GetInputs() const{ return m_inputs; }
/**
* The list of inputs currently using this Input Security Group.
*/
inline void SetInputs(const Aws::Vector& value) { m_inputs = value; }
/**
* The list of inputs currently using this Input Security Group.
*/
inline void SetInputs(Aws::Vector&& value) { m_inputs = std::move(value); }
/**
* The list of inputs currently using this Input Security Group.
*/
inline DescribeInputSecurityGroupResult& WithInputs(const Aws::Vector& value) { SetInputs(value); return *this;}
/**
* The list of inputs currently using this Input Security Group.
*/
inline DescribeInputSecurityGroupResult& WithInputs(Aws::Vector&& value) { SetInputs(std::move(value)); return *this;}
/**
* The list of inputs currently using this Input Security Group.
*/
inline DescribeInputSecurityGroupResult& AddInputs(const Aws::String& value) { m_inputs.push_back(value); return *this; }
/**
* The list of inputs currently using this Input Security Group.
*/
inline DescribeInputSecurityGroupResult& AddInputs(Aws::String&& value) { m_inputs.push_back(std::move(value)); return *this; }
/**
* The list of inputs currently using this Input Security Group.
*/
inline DescribeInputSecurityGroupResult& AddInputs(const char* value) { m_inputs.push_back(value); return *this; }
/**
* The current state of the Input Security Group.
*/
inline const InputSecurityGroupState& GetState() const{ return m_state; }
/**
* The current state of the Input Security Group.
*/
inline void SetState(const InputSecurityGroupState& value) { m_state = value; }
/**
* The current state of the Input Security Group.
*/
inline void SetState(InputSecurityGroupState&& value) { m_state = std::move(value); }
/**
* The current state of the Input Security Group.
*/
inline DescribeInputSecurityGroupResult& WithState(const InputSecurityGroupState& value) { SetState(value); return *this;}
/**
* The current state of the Input Security Group.
*/
inline DescribeInputSecurityGroupResult& WithState(InputSecurityGroupState&& value) { SetState(std::move(value)); return *this;}
/**
* A collection of key-value pairs.
*/
inline const Aws::Map& GetTags() const{ return m_tags; }
/**
* A collection of key-value pairs.
*/
inline void SetTags(const Aws::Map& value) { m_tags = value; }
/**
* A collection of key-value pairs.
*/
inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); }
/**
* A collection of key-value pairs.
*/
inline DescribeInputSecurityGroupResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;}
/**
* A collection of key-value pairs.
*/
inline DescribeInputSecurityGroupResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;}
/**
* A collection of key-value pairs.
*/
inline DescribeInputSecurityGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* A collection of key-value pairs.
*/
inline DescribeInputSecurityGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* A collection of key-value pairs.
*/
inline DescribeInputSecurityGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* A collection of key-value pairs.
*/
inline DescribeInputSecurityGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* A collection of key-value pairs.
*/
inline DescribeInputSecurityGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* A collection of key-value pairs.
*/
inline DescribeInputSecurityGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* A collection of key-value pairs.
*/
inline DescribeInputSecurityGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
/**
* Whitelist rules and their sync status
*/
inline const Aws::Vector& GetWhitelistRules() const{ return m_whitelistRules; }
/**
* Whitelist rules and their sync status
*/
inline void SetWhitelistRules(const Aws::Vector& value) { m_whitelistRules = value; }
/**
* Whitelist rules and their sync status
*/
inline void SetWhitelistRules(Aws::Vector&& value) { m_whitelistRules = std::move(value); }
/**
* Whitelist rules and their sync status
*/
inline DescribeInputSecurityGroupResult& WithWhitelistRules(const Aws::Vector& value) { SetWhitelistRules(value); return *this;}
/**
* Whitelist rules and their sync status
*/
inline DescribeInputSecurityGroupResult& WithWhitelistRules(Aws::Vector&& value) { SetWhitelistRules(std::move(value)); return *this;}
/**
* Whitelist rules and their sync status
*/
inline DescribeInputSecurityGroupResult& AddWhitelistRules(const InputWhitelistRule& value) { m_whitelistRules.push_back(value); return *this; }
/**
* Whitelist rules and their sync status
*/
inline DescribeInputSecurityGroupResult& AddWhitelistRules(InputWhitelistRule&& value) { m_whitelistRules.push_back(std::move(value)); return *this; }
inline const Aws::String& GetRequestId() const{ return m_requestId; }
inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
inline void SetRequestId(const char* value) { m_requestId.assign(value); }
inline DescribeInputSecurityGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
inline DescribeInputSecurityGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
inline DescribeInputSecurityGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
private:
Aws::String m_arn;
Aws::String m_id;
Aws::Vector m_inputs;
InputSecurityGroupState m_state;
Aws::Map m_tags;
Aws::Vector m_whitelistRules;
Aws::String m_requestId;
};
} // namespace Model
} // namespace MediaLive
} // namespace Aws