AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
35
38 inline const ExpiryEventsConfiguration& GetExpiryEvents() const { return m_expiryEvents; }
39 inline bool ExpiryEventsHasBeenSet() const { return m_expiryEventsHasBeenSet; }
40 template <typename ExpiryEventsT = ExpiryEventsConfiguration>
41 void SetExpiryEvents(ExpiryEventsT&& value) {
42 m_expiryEventsHasBeenSet = true;
43 m_expiryEvents = std::forward<ExpiryEventsT>(value);
44 }
45 template <typename ExpiryEventsT = ExpiryEventsConfiguration>
47 SetExpiryEvents(std::forward<ExpiryEventsT>(value));
48 return *this;
49 }
51
53
61 inline const Aws::String& GetIdempotencyToken() const { return m_idempotencyToken; }
62 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
63 template <typename IdempotencyTokenT = Aws::String>
64 void SetIdempotencyToken(IdempotencyTokenT&& value) {
65 m_idempotencyTokenHasBeenSet = true;
66 m_idempotencyToken = std::forward<IdempotencyTokenT>(value);
67 }
68 template <typename IdempotencyTokenT = Aws::String>
70 SetIdempotencyToken(std::forward<IdempotencyTokenT>(value));
71 return *this;
72 }
74 private:
75 ExpiryEventsConfiguration m_expiryEvents;
76
77 Aws::String m_idempotencyToken;
78 bool m_expiryEventsHasBeenSet = false;
79 bool m_idempotencyTokenHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace ACM
84} // namespace Aws
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