AWS SDK for C++

AWS SDK for C++ Version 1.11.900

Loading...
Searching...
No Matches
PutIntelligenceConfigurationRequest.h
1
6#pragma once
7#include <aws/cloudwatchomni/CloudWatchOmniRequest.h>
8#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CloudWatchOmni {
16namespace Model {
17
25 public:
26 AWS_CLOUDWATCHOMNI_API PutIntelligenceConfigurationRequest() = default;
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 "PutIntelligenceConfiguration"; }
33
34 AWS_CLOUDWATCHOMNI_API Aws::String SerializePayload() const override;
35
36 AWS_CLOUDWATCHOMNI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
43 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
44 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
45 template <typename KmsKeyArnT = Aws::String>
46 void SetKmsKeyArn(KmsKeyArnT&& value) {
47 m_kmsKeyArnHasBeenSet = true;
48 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
49 }
50 template <typename KmsKeyArnT = Aws::String>
52 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
53 return *this;
54 }
56
58
62 inline bool GetRemoveKmsKey() const { return m_removeKmsKey; }
63 inline bool RemoveKmsKeyHasBeenSet() const { return m_removeKmsKeyHasBeenSet; }
64 inline void SetRemoveKmsKey(bool value) {
65 m_removeKmsKeyHasBeenSet = true;
66 m_removeKmsKey = value;
67 }
69 SetRemoveKmsKey(value);
70 return *this;
71 }
73
75
79 inline const Aws::String& GetClientToken() const { return m_clientToken; }
80 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
81 template <typename ClientTokenT = Aws::String>
82 void SetClientToken(ClientTokenT&& value) {
83 m_clientTokenHasBeenSet = true;
84 m_clientToken = std::forward<ClientTokenT>(value);
85 }
86 template <typename ClientTokenT = Aws::String>
88 SetClientToken(std::forward<ClientTokenT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_kmsKeyArn;
94
95 bool m_removeKmsKey{false};
96
98 bool m_kmsKeyArnHasBeenSet = false;
99 bool m_removeKmsKeyHasBeenSet = false;
100 bool m_clientTokenHasBeenSet = true;
101};
102
103} // namespace Model
104} // namespace CloudWatchOmni
105} // namespace Aws
AWS_CLOUDWATCHOMNI_API PutIntelligenceConfigurationRequest()=default
AWS_CLOUDWATCHOMNI_API Aws::String SerializePayload() const override
PutIntelligenceConfigurationRequest & WithKmsKeyArn(KmsKeyArnT &&value)
PutIntelligenceConfigurationRequest & WithClientToken(ClientTokenT &&value)
AWS_CLOUDWATCHOMNI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String