AWS SDK for C++  1.9.1
AWS SDK for C++
DescribeCostCategoryDefinitionRequest.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 "DescribeCostCategoryDefinition"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetCostCategoryArn() const{ return m_costCategoryArn; }
41 
45  inline bool CostCategoryArnHasBeenSet() const { return m_costCategoryArnHasBeenSet; }
46 
50  inline void SetCostCategoryArn(const Aws::String& value) { m_costCategoryArnHasBeenSet = true; m_costCategoryArn = value; }
51 
55  inline void SetCostCategoryArn(Aws::String&& value) { m_costCategoryArnHasBeenSet = true; m_costCategoryArn = std::move(value); }
56 
60  inline void SetCostCategoryArn(const char* value) { m_costCategoryArnHasBeenSet = true; m_costCategoryArn.assign(value); }
61 
65  inline DescribeCostCategoryDefinitionRequest& WithCostCategoryArn(const Aws::String& value) { SetCostCategoryArn(value); return *this;}
66 
70  inline DescribeCostCategoryDefinitionRequest& WithCostCategoryArn(Aws::String&& value) { SetCostCategoryArn(std::move(value)); return *this;}
71 
75  inline DescribeCostCategoryDefinitionRequest& WithCostCategoryArn(const char* value) { SetCostCategoryArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetEffectiveOn() const{ return m_effectiveOn; }
82 
86  inline bool EffectiveOnHasBeenSet() const { return m_effectiveOnHasBeenSet; }
87 
91  inline void SetEffectiveOn(const Aws::String& value) { m_effectiveOnHasBeenSet = true; m_effectiveOn = value; }
92 
96  inline void SetEffectiveOn(Aws::String&& value) { m_effectiveOnHasBeenSet = true; m_effectiveOn = std::move(value); }
97 
101  inline void SetEffectiveOn(const char* value) { m_effectiveOnHasBeenSet = true; m_effectiveOn.assign(value); }
102 
106  inline DescribeCostCategoryDefinitionRequest& WithEffectiveOn(const Aws::String& value) { SetEffectiveOn(value); return *this;}
107 
111  inline DescribeCostCategoryDefinitionRequest& WithEffectiveOn(Aws::String&& value) { SetEffectiveOn(std::move(value)); return *this;}
112 
116  inline DescribeCostCategoryDefinitionRequest& WithEffectiveOn(const char* value) { SetEffectiveOn(value); return *this;}
117 
118  private:
119 
120  Aws::String m_costCategoryArn;
121  bool m_costCategoryArnHasBeenSet;
122 
123  Aws::String m_effectiveOn;
124  bool m_effectiveOnHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace CostExplorer
129 } // namespace Aws
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::WithCostCategoryArn
DescribeCostCategoryDefinitionRequest & WithCostCategoryArn(const char *value)
Definition: DescribeCostCategoryDefinitionRequest.h:75
Aws::CostExplorer::CostExplorerRequest
Definition: CostExplorerRequest.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::WithCostCategoryArn
DescribeCostCategoryDefinitionRequest & WithCostCategoryArn(const Aws::String &value)
Definition: DescribeCostCategoryDefinitionRequest.h:65
CostExplorerRequest.h
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::SetCostCategoryArn
void SetCostCategoryArn(Aws::String &&value)
Definition: DescribeCostCategoryDefinitionRequest.h:55
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::WithCostCategoryArn
DescribeCostCategoryDefinitionRequest & WithCostCategoryArn(Aws::String &&value)
Definition: DescribeCostCategoryDefinitionRequest.h:70
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::WithEffectiveOn
DescribeCostCategoryDefinitionRequest & WithEffectiveOn(const char *value)
Definition: DescribeCostCategoryDefinitionRequest.h:116
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::EffectiveOnHasBeenSet
bool EffectiveOnHasBeenSet() const
Definition: DescribeCostCategoryDefinitionRequest.h:86
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CostExplorer_EXPORTS.h
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::SetCostCategoryArn
void SetCostCategoryArn(const Aws::String &value)
Definition: DescribeCostCategoryDefinitionRequest.h:50
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::SetEffectiveOn
void SetEffectiveOn(Aws::String &&value)
Definition: DescribeCostCategoryDefinitionRequest.h:96
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::SetEffectiveOn
void SetEffectiveOn(const Aws::String &value)
Definition: DescribeCostCategoryDefinitionRequest.h:91
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::WithEffectiveOn
DescribeCostCategoryDefinitionRequest & WithEffectiveOn(const Aws::String &value)
Definition: DescribeCostCategoryDefinitionRequest.h:106
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::CostCategoryArnHasBeenSet
bool CostCategoryArnHasBeenSet() const
Definition: DescribeCostCategoryDefinitionRequest.h:45
AWSString.h
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::SetEffectiveOn
void SetEffectiveOn(const char *value)
Definition: DescribeCostCategoryDefinitionRequest.h:101
AWS_COSTEXPLORER_API
#define AWS_COSTEXPLORER_API
Definition: CostExplorer_EXPORTS.h:28
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::WithEffectiveOn
DescribeCostCategoryDefinitionRequest & WithEffectiveOn(Aws::String &&value)
Definition: DescribeCostCategoryDefinitionRequest.h:111
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::SetCostCategoryArn
void SetCostCategoryArn(const char *value)
Definition: DescribeCostCategoryDefinitionRequest.h:60
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest
Definition: DescribeCostCategoryDefinitionRequest.h:22
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeCostCategoryDefinitionRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::GetEffectiveOn
const Aws::String & GetEffectiveOn() const
Definition: DescribeCostCategoryDefinitionRequest.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::GetCostCategoryArn
const Aws::String & GetCostCategoryArn() const
Definition: DescribeCostCategoryDefinitionRequest.h:40
Aws::CostExplorer::Model::DescribeCostCategoryDefinitionRequest::DescribeCostCategoryDefinitionRequest
DescribeCostCategoryDefinitionRequest()