AWS SDK for C++  1.8.129
AWS SDK for C++
DescribeOrganizationConfigRulesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ConfigService
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeOrganizationConfigRules"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::Vector<Aws::String>& GetOrganizationConfigRuleNames() const{ return m_organizationConfigRuleNames; }
44 
50  inline bool OrganizationConfigRuleNamesHasBeenSet() const { return m_organizationConfigRuleNamesHasBeenSet; }
51 
57  inline void SetOrganizationConfigRuleNames(const Aws::Vector<Aws::String>& value) { m_organizationConfigRuleNamesHasBeenSet = true; m_organizationConfigRuleNames = value; }
58 
64  inline void SetOrganizationConfigRuleNames(Aws::Vector<Aws::String>&& value) { m_organizationConfigRuleNamesHasBeenSet = true; m_organizationConfigRuleNames = std::move(value); }
65 
71  inline DescribeOrganizationConfigRulesRequest& WithOrganizationConfigRuleNames(const Aws::Vector<Aws::String>& value) { SetOrganizationConfigRuleNames(value); return *this;}
72 
78  inline DescribeOrganizationConfigRulesRequest& WithOrganizationConfigRuleNames(Aws::Vector<Aws::String>&& value) { SetOrganizationConfigRuleNames(std::move(value)); return *this;}
79 
85  inline DescribeOrganizationConfigRulesRequest& AddOrganizationConfigRuleNames(const Aws::String& value) { m_organizationConfigRuleNamesHasBeenSet = true; m_organizationConfigRuleNames.push_back(value); return *this; }
86 
92  inline DescribeOrganizationConfigRulesRequest& AddOrganizationConfigRuleNames(Aws::String&& value) { m_organizationConfigRuleNamesHasBeenSet = true; m_organizationConfigRuleNames.push_back(std::move(value)); return *this; }
93 
99  inline DescribeOrganizationConfigRulesRequest& AddOrganizationConfigRuleNames(const char* value) { m_organizationConfigRuleNamesHasBeenSet = true; m_organizationConfigRuleNames.push_back(value); return *this; }
100 
101 
106  inline int GetLimit() const{ return m_limit; }
107 
112  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
113 
118  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
119 
124  inline DescribeOrganizationConfigRulesRequest& WithLimit(int value) { SetLimit(value); return *this;}
125 
126 
131  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
132 
137  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
138 
143  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
144 
149  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
150 
155  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
156 
161  inline DescribeOrganizationConfigRulesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
162 
167  inline DescribeOrganizationConfigRulesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
168 
173  inline DescribeOrganizationConfigRulesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
174 
175  private:
176 
177  Aws::Vector<Aws::String> m_organizationConfigRuleNames;
178  bool m_organizationConfigRuleNamesHasBeenSet;
179 
180  int m_limit;
181  bool m_limitHasBeenSet;
182 
183  Aws::String m_nextToken;
184  bool m_nextTokenHasBeenSet;
185  };
186 
187 } // namespace Model
188 } // namespace ConfigService
189 } // namespace Aws
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::WithNextToken
DescribeOrganizationConfigRulesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeOrganizationConfigRulesRequest.h:161
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::GetOrganizationConfigRuleNames
const Aws::Vector< Aws::String > & GetOrganizationConfigRuleNames() const
Definition: DescribeOrganizationConfigRulesRequest.h:43
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeOrganizationConfigRulesRequest.h:155
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeOrganizationConfigRulesRequest.h:31
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::WithNextToken
DescribeOrganizationConfigRulesRequest & WithNextToken(const char *value)
Definition: DescribeOrganizationConfigRulesRequest.h:173
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::WithLimit
DescribeOrganizationConfigRulesRequest & WithLimit(int value)
Definition: DescribeOrganizationConfigRulesRequest.h:124
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::SetLimit
void SetLimit(int value)
Definition: DescribeOrganizationConfigRulesRequest.h:118
AWSVector.h
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::AddOrganizationConfigRuleNames
DescribeOrganizationConfigRulesRequest & AddOrganizationConfigRuleNames(const Aws::String &value)
Definition: DescribeOrganizationConfigRulesRequest.h:85
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::SetOrganizationConfigRuleNames
void SetOrganizationConfigRuleNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeOrganizationConfigRulesRequest.h:64
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeOrganizationConfigRulesRequest.h:143
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeOrganizationConfigRulesRequest.h:112
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest
Definition: DescribeOrganizationConfigRulesRequest.h:23
ConfigService_EXPORTS.h
Aws::ConfigService::ConfigServiceRequest
Definition: ConfigServiceRequest.h:17
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::WithOrganizationConfigRuleNames
DescribeOrganizationConfigRulesRequest & WithOrganizationConfigRuleNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeOrganizationConfigRulesRequest.h:78
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::SetOrganizationConfigRuleNames
void SetOrganizationConfigRuleNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeOrganizationConfigRulesRequest.h:57
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::OrganizationConfigRuleNamesHasBeenSet
bool OrganizationConfigRuleNamesHasBeenSet() const
Definition: DescribeOrganizationConfigRulesRequest.h:50
AWSString.h
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeOrganizationConfigRulesRequest.h:149
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::DescribeOrganizationConfigRulesRequest
DescribeOrganizationConfigRulesRequest()
Aws
Definition: AccessManagementClient.h:15
ConfigServiceRequest.h
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::AddOrganizationConfigRuleNames
DescribeOrganizationConfigRulesRequest & AddOrganizationConfigRuleNames(const char *value)
Definition: DescribeOrganizationConfigRulesRequest.h:99
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::AddOrganizationConfigRuleNames
DescribeOrganizationConfigRulesRequest & AddOrganizationConfigRuleNames(Aws::String &&value)
Definition: DescribeOrganizationConfigRulesRequest.h:92
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::WithOrganizationConfigRuleNames
DescribeOrganizationConfigRulesRequest & WithOrganizationConfigRuleNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeOrganizationConfigRulesRequest.h:71
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::WithNextToken
DescribeOrganizationConfigRulesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeOrganizationConfigRulesRequest.h:167
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::GetLimit
int GetLimit() const
Definition: DescribeOrganizationConfigRulesRequest.h:106
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeOrganizationConfigRulesRequest.h:137
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ConfigService::Model::DescribeOrganizationConfigRulesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeOrganizationConfigRulesRequest.h:131
AWS_CONFIGSERVICE_API
#define AWS_CONFIGSERVICE_API
Definition: ConfigService_EXPORTS.h:28