AWS SDK for C++

AWS SDK for C++ Version 1.11.848

Loading...
Searching...
No Matches
PutAccountConfigurationRequest.h
1
6#pragma once
7#include <aws/acm/ACMRequest.h>
8#include <aws/acm/ACM_EXPORTS.h>
9#include <aws/acm/model/ExpiryEventsConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ACM {
16namespace Model {
17
21 public:
22 AWS_ACM_API PutAccountConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "PutAccountConfiguration"; }
29
30 AWS_ACM_API Aws::String SerializePayload() const override;
31
33
37 AWS_ACM_API EndpointParameters GetEndpointContextParams() const override;
38
40
43 inline const ExpiryEventsConfiguration& GetExpiryEvents() const { return m_expiryEvents; }
44 inline bool ExpiryEventsHasBeenSet() const { return m_expiryEventsHasBeenSet; }
45 template <typename ExpiryEventsT = ExpiryEventsConfiguration>
46 void SetExpiryEvents(ExpiryEventsT&& value) {
47 m_expiryEventsHasBeenSet = true;
48 m_expiryEvents = std::forward<ExpiryEventsT>(value);
49 }
50 template <typename ExpiryEventsT = ExpiryEventsConfiguration>
52 SetExpiryEvents(std::forward<ExpiryEventsT>(value));
53 return *this;
54 }
56
58
66 inline const Aws::String& GetIdempotencyToken() const { return m_idempotencyToken; }
67 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
68 template <typename IdempotencyTokenT = Aws::String>
69 void SetIdempotencyToken(IdempotencyTokenT&& value) {
70 m_idempotencyTokenHasBeenSet = true;
71 m_idempotencyToken = std::forward<IdempotencyTokenT>(value);
72 }
73 template <typename IdempotencyTokenT = Aws::String>
75 SetIdempotencyToken(std::forward<IdempotencyTokenT>(value));
76 return *this;
77 }
79 private:
80 ExpiryEventsConfiguration m_expiryEvents;
81
82 Aws::String m_idempotencyToken;
83 bool m_expiryEventsHasBeenSet = false;
84 bool m_idempotencyTokenHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace ACM
89} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
Definition ACMRequest.h:18
AWS_ACM_API EndpointParameters GetEndpointContextParams() const override
PutAccountConfigurationRequest & WithExpiryEvents(ExpiryEventsT &&value)
PutAccountConfigurationRequest & WithIdempotencyToken(IdempotencyTokenT &&value)
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const ExpiryEventsConfiguration & GetExpiryEvents() const
AWS_ACM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String