AWS SDK for C++

AWS SDK for C++ Version 1.11.744

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