AWS SDK for C++  1.9.1
AWS SDK for C++
ListCostCategoryDefinitionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CostExplorer
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "ListCostCategoryDefinitions"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetEffectiveOn() const{ return m_effectiveOn; }
41 
45  inline bool EffectiveOnHasBeenSet() const { return m_effectiveOnHasBeenSet; }
46 
50  inline void SetEffectiveOn(const Aws::String& value) { m_effectiveOnHasBeenSet = true; m_effectiveOn = value; }
51 
55  inline void SetEffectiveOn(Aws::String&& value) { m_effectiveOnHasBeenSet = true; m_effectiveOn = std::move(value); }
56 
60  inline void SetEffectiveOn(const char* value) { m_effectiveOnHasBeenSet = true; m_effectiveOn.assign(value); }
61 
65  inline ListCostCategoryDefinitionsRequest& WithEffectiveOn(const Aws::String& value) { SetEffectiveOn(value); return *this;}
66 
70  inline ListCostCategoryDefinitionsRequest& WithEffectiveOn(Aws::String&& value) { SetEffectiveOn(std::move(value)); return *this;}
71 
75  inline ListCostCategoryDefinitionsRequest& WithEffectiveOn(const char* value) { SetEffectiveOn(value); return *this;}
76 
77 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
90  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 
97  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
98 
104  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
105 
111  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
112 
118  inline ListCostCategoryDefinitionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
119 
125  inline ListCostCategoryDefinitionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
126 
132  inline ListCostCategoryDefinitionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
133 
134 
138  inline int GetMaxResults() const{ return m_maxResults; }
139 
143  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
144 
148  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
149 
153  inline ListCostCategoryDefinitionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
154 
155  private:
156 
157  Aws::String m_effectiveOn;
158  bool m_effectiveOnHasBeenSet;
159 
160  Aws::String m_nextToken;
161  bool m_nextTokenHasBeenSet;
162 
163  int m_maxResults;
164  bool m_maxResultsHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace CostExplorer
169 } // namespace Aws
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest
Definition: ListCostCategoryDefinitionsRequest.h:22
Aws::CostExplorer::CostExplorerRequest
Definition: CostExplorerRequest.h:17
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListCostCategoryDefinitionsRequest.h:97
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListCostCategoryDefinitionsRequest.h:90
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::SetEffectiveOn
void SetEffectiveOn(const Aws::String &value)
Definition: ListCostCategoryDefinitionsRequest.h:50
CostExplorerRequest.h
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::SetEffectiveOn
void SetEffectiveOn(Aws::String &&value)
Definition: ListCostCategoryDefinitionsRequest.h:55
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::ListCostCategoryDefinitionsRequest
ListCostCategoryDefinitionsRequest()
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListCostCategoryDefinitionsRequest.h:30
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListCostCategoryDefinitionsRequest.h:83
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::WithEffectiveOn
ListCostCategoryDefinitionsRequest & WithEffectiveOn(Aws::String &&value)
Definition: ListCostCategoryDefinitionsRequest.h:70
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::EffectiveOnHasBeenSet
bool EffectiveOnHasBeenSet() const
Definition: ListCostCategoryDefinitionsRequest.h:45
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::WithEffectiveOn
ListCostCategoryDefinitionsRequest & WithEffectiveOn(const Aws::String &value)
Definition: ListCostCategoryDefinitionsRequest.h:65
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::WithNextToken
ListCostCategoryDefinitionsRequest & WithNextToken(const char *value)
Definition: ListCostCategoryDefinitionsRequest.h:132
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListCostCategoryDefinitionsRequest.h:143
CostExplorer_EXPORTS.h
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::GetEffectiveOn
const Aws::String & GetEffectiveOn() const
Definition: ListCostCategoryDefinitionsRequest.h:40
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::WithMaxResults
ListCostCategoryDefinitionsRequest & WithMaxResults(int value)
Definition: ListCostCategoryDefinitionsRequest.h:153
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::WithNextToken
ListCostCategoryDefinitionsRequest & WithNextToken(const Aws::String &value)
Definition: ListCostCategoryDefinitionsRequest.h:118
AWSString.h
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListCostCategoryDefinitionsRequest.h:148
AWS_COSTEXPLORER_API
#define AWS_COSTEXPLORER_API
Definition: CostExplorer_EXPORTS.h:28
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListCostCategoryDefinitionsRequest.h:111
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListCostCategoryDefinitionsRequest.h:138
Aws
Definition: AccessManagementClient.h:15
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::SetEffectiveOn
void SetEffectiveOn(const char *value)
Definition: ListCostCategoryDefinitionsRequest.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::WithNextToken
ListCostCategoryDefinitionsRequest & WithNextToken(Aws::String &&value)
Definition: ListCostCategoryDefinitionsRequest.h:125
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::WithEffectiveOn
ListCostCategoryDefinitionsRequest & WithEffectiveOn(const char *value)
Definition: ListCostCategoryDefinitionsRequest.h:75
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListCostCategoryDefinitionsRequest.h:104
Aws::CostExplorer::Model::ListCostCategoryDefinitionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override