AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SelectAggregateResourceConfigRequest.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/ConfigServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ConfigService
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CONFIGSERVICE_API SelectAggregateResourceConfigRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "SelectAggregateResourceConfig"; }
31
32 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
33
34 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetExpression() const{ return m_expression; }
42 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
43 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
44 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
45 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
47 inline SelectAggregateResourceConfigRequest& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
48 inline SelectAggregateResourceConfigRequest& WithExpression(const char* value) { SetExpression(value); return *this;}
50
52
55 inline const Aws::String& GetConfigurationAggregatorName() const{ return m_configurationAggregatorName; }
56 inline bool ConfigurationAggregatorNameHasBeenSet() const { return m_configurationAggregatorNameHasBeenSet; }
57 inline void SetConfigurationAggregatorName(const Aws::String& value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName = value; }
58 inline void SetConfigurationAggregatorName(Aws::String&& value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName = std::move(value); }
59 inline void SetConfigurationAggregatorName(const char* value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName.assign(value); }
64
66
69 inline int GetLimit() const{ return m_limit; }
70 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
71 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
72 inline SelectAggregateResourceConfigRequest& WithLimit(int value) { SetLimit(value); return *this;}
74
76
80 inline int GetMaxResults() const{ return m_maxResults; }
81 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
82 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
83 inline SelectAggregateResourceConfigRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
85
87
91 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
94 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
95 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
96 inline SelectAggregateResourceConfigRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 inline SelectAggregateResourceConfigRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
98 inline SelectAggregateResourceConfigRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
100 private:
101
102 Aws::String m_expression;
103 bool m_expressionHasBeenSet = false;
104
105 Aws::String m_configurationAggregatorName;
106 bool m_configurationAggregatorNameHasBeenSet = false;
107
108 int m_limit;
109 bool m_limitHasBeenSet = false;
110
111 int m_maxResults;
112 bool m_maxResultsHasBeenSet = false;
113
114 Aws::String m_nextToken;
115 bool m_nextTokenHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace ConfigService
120} // namespace Aws
SelectAggregateResourceConfigRequest & WithConfigurationAggregatorName(const Aws::String &value)
SelectAggregateResourceConfigRequest & WithConfigurationAggregatorName(const char *value)
SelectAggregateResourceConfigRequest & WithNextToken(const char *value)
SelectAggregateResourceConfigRequest & WithExpression(const Aws::String &value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
SelectAggregateResourceConfigRequest & WithConfigurationAggregatorName(Aws::String &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SelectAggregateResourceConfigRequest & WithNextToken(Aws::String &&value)
SelectAggregateResourceConfigRequest & WithExpression(const char *value)
SelectAggregateResourceConfigRequest & WithExpression(Aws::String &&value)
SelectAggregateResourceConfigRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String