AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeInputSecurityGroupResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/model/InputSecurityGroupState.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/medialive/model/InputWhitelistRule.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MediaLive
28{
29namespace Model
30{
38 {
39 public:
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline void SetArn(const Aws::String& value) { m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arn.assign(value); }
53 inline DescribeInputSecurityGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline DescribeInputSecurityGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline DescribeInputSecurityGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::String& GetId() const{ return m_id; }
63 inline void SetId(const Aws::String& value) { m_id = value; }
64 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
65 inline void SetId(const char* value) { m_id.assign(value); }
66 inline DescribeInputSecurityGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;}
67 inline DescribeInputSecurityGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
68 inline DescribeInputSecurityGroupResult& WithId(const char* value) { SetId(value); return *this;}
70
72
75 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
76 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputs = value; }
77 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputs = std::move(value); }
79 inline DescribeInputSecurityGroupResult& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
80 inline DescribeInputSecurityGroupResult& AddInputs(const Aws::String& value) { m_inputs.push_back(value); return *this; }
81 inline DescribeInputSecurityGroupResult& AddInputs(Aws::String&& value) { m_inputs.push_back(std::move(value)); return *this; }
82 inline DescribeInputSecurityGroupResult& AddInputs(const char* value) { m_inputs.push_back(value); return *this; }
84
86
89 inline const InputSecurityGroupState& GetState() const{ return m_state; }
90 inline void SetState(const InputSecurityGroupState& value) { m_state = value; }
91 inline void SetState(InputSecurityGroupState&& value) { m_state = std::move(value); }
92 inline DescribeInputSecurityGroupResult& WithState(const InputSecurityGroupState& value) { SetState(value); return *this;}
93 inline DescribeInputSecurityGroupResult& WithState(InputSecurityGroupState&& value) { SetState(std::move(value)); return *this;}
95
97
100 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
101 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
102 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
104 inline DescribeInputSecurityGroupResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
105 inline DescribeInputSecurityGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
106 inline DescribeInputSecurityGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
107 inline DescribeInputSecurityGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
108 inline DescribeInputSecurityGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
109 inline DescribeInputSecurityGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
110 inline DescribeInputSecurityGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
111 inline DescribeInputSecurityGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
113
115
118 inline const Aws::Vector<InputWhitelistRule>& GetWhitelistRules() const{ return m_whitelistRules; }
119 inline void SetWhitelistRules(const Aws::Vector<InputWhitelistRule>& value) { m_whitelistRules = value; }
120 inline void SetWhitelistRules(Aws::Vector<InputWhitelistRule>&& value) { m_whitelistRules = std::move(value); }
123 inline DescribeInputSecurityGroupResult& AddWhitelistRules(const InputWhitelistRule& value) { m_whitelistRules.push_back(value); return *this; }
124 inline DescribeInputSecurityGroupResult& AddWhitelistRules(InputWhitelistRule&& value) { m_whitelistRules.push_back(std::move(value)); return *this; }
126
128
129 inline const Aws::String& GetRequestId() const{ return m_requestId; }
130 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
131 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
132 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
133 inline DescribeInputSecurityGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
134 inline DescribeInputSecurityGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
135 inline DescribeInputSecurityGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
137 private:
138
139 Aws::String m_arn;
140
141 Aws::String m_id;
142
144
146
148
149 Aws::Vector<InputWhitelistRule> m_whitelistRules;
150
151 Aws::String m_requestId;
152 };
153
154} // namespace Model
155} // namespace MediaLive
156} // namespace Aws
DescribeInputSecurityGroupResult & AddTags(const Aws::String &key, Aws::String &&value)
AWS_MEDIALIVE_API DescribeInputSecurityGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeInputSecurityGroupResult & WithInputs(const Aws::Vector< Aws::String > &value)
DescribeInputSecurityGroupResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetWhitelistRules(Aws::Vector< InputWhitelistRule > &&value)
DescribeInputSecurityGroupResult & WithArn(Aws::String &&value)
DescribeInputSecurityGroupResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetWhitelistRules(const Aws::Vector< InputWhitelistRule > &value)
DescribeInputSecurityGroupResult & AddTags(Aws::String &&key, const char *value)
DescribeInputSecurityGroupResult & AddWhitelistRules(InputWhitelistRule &&value)
DescribeInputSecurityGroupResult & AddWhitelistRules(const InputWhitelistRule &value)
DescribeInputSecurityGroupResult & WithArn(const char *value)
DescribeInputSecurityGroupResult & WithId(const char *value)
DescribeInputSecurityGroupResult & WithWhitelistRules(Aws::Vector< InputWhitelistRule > &&value)
DescribeInputSecurityGroupResult & AddInputs(const Aws::String &value)
DescribeInputSecurityGroupResult & WithId(const Aws::String &value)
DescribeInputSecurityGroupResult & WithRequestId(const Aws::String &value)
DescribeInputSecurityGroupResult & AddInputs(Aws::String &&value)
DescribeInputSecurityGroupResult & WithState(InputSecurityGroupState &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeInputSecurityGroupResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeInputSecurityGroupResult & WithState(const InputSecurityGroupState &value)
AWS_MEDIALIVE_API DescribeInputSecurityGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< InputWhitelistRule > & GetWhitelistRules() const
DescribeInputSecurityGroupResult & AddTags(const char *key, const char *value)
DescribeInputSecurityGroupResult & AddInputs(const char *value)
DescribeInputSecurityGroupResult & WithId(Aws::String &&value)
DescribeInputSecurityGroupResult & AddTags(const char *key, Aws::String &&value)
DescribeInputSecurityGroupResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeInputSecurityGroupResult & WithWhitelistRules(const Aws::Vector< InputWhitelistRule > &value)
DescribeInputSecurityGroupResult & WithRequestId(Aws::String &&value)
DescribeInputSecurityGroupResult & WithInputs(Aws::Vector< Aws::String > &&value)
DescribeInputSecurityGroupResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeInputSecurityGroupResult & WithRequestId(const char *value)
DescribeInputSecurityGroupResult & WithArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue