AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartCostEstimationRequest.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/DevOpsGuruRequest.h>
9#include <aws/devops-guru/model/CostEstimationResourceCollectionFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace DevOpsGuru
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DEVOPSGURU_API StartCostEstimationRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartCostEstimation"; }
33
34 AWS_DEVOPSGURU_API Aws::String SerializePayload() const override;
35
36
38
42 inline const CostEstimationResourceCollectionFilter& GetResourceCollection() const{ return m_resourceCollection; }
43 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
44 inline void SetResourceCollection(const CostEstimationResourceCollectionFilter& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = value; }
45 inline void SetResourceCollection(CostEstimationResourceCollectionFilter&& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = std::move(value); }
49
51
54 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
55 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
56 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
57 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
58 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
59 inline StartCostEstimationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
60 inline StartCostEstimationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
61 inline StartCostEstimationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
63 private:
64
65 CostEstimationResourceCollectionFilter m_resourceCollection;
66 bool m_resourceCollectionHasBeenSet = false;
67
68 Aws::String m_clientToken;
69 bool m_clientTokenHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace DevOpsGuru
74} // namespace Aws
StartCostEstimationRequest & WithClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetResourceCollection(const CostEstimationResourceCollectionFilter &value)
void SetResourceCollection(CostEstimationResourceCollectionFilter &&value)
StartCostEstimationRequest & WithClientToken(const char *value)
const CostEstimationResourceCollectionFilter & GetResourceCollection() const
StartCostEstimationRequest & WithResourceCollection(CostEstimationResourceCollectionFilter &&value)
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
StartCostEstimationRequest & WithResourceCollection(const CostEstimationResourceCollectionFilter &value)
StartCostEstimationRequest & WithClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String