AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutAccountConfigurationRequest.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/ACMRequest.h>
9#include <aws/acm/model/ExpiryEventsConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ACM
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ACM_API PutAccountConfigurationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PutAccountConfiguration"; }
32
33 AWS_ACM_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const ExpiryEventsConfiguration& GetExpiryEvents() const { return m_expiryEvents; }
43 inline bool ExpiryEventsHasBeenSet() const { return m_expiryEventsHasBeenSet; }
44 template<typename ExpiryEventsT = ExpiryEventsConfiguration>
45 void SetExpiryEvents(ExpiryEventsT&& value) { m_expiryEventsHasBeenSet = true; m_expiryEvents = std::forward<ExpiryEventsT>(value); }
46 template<typename ExpiryEventsT = ExpiryEventsConfiguration>
47 PutAccountConfigurationRequest& WithExpiryEvents(ExpiryEventsT&& value) { SetExpiryEvents(std::forward<ExpiryEventsT>(value)); return *this;}
49
51
59 inline const Aws::String& GetIdempotencyToken() const { return m_idempotencyToken; }
60 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
61 template<typename IdempotencyTokenT = Aws::String>
62 void SetIdempotencyToken(IdempotencyTokenT&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::forward<IdempotencyTokenT>(value); }
63 template<typename IdempotencyTokenT = Aws::String>
64 PutAccountConfigurationRequest& WithIdempotencyToken(IdempotencyTokenT&& value) { SetIdempotencyToken(std::forward<IdempotencyTokenT>(value)); return *this;}
66 private:
67
68 ExpiryEventsConfiguration m_expiryEvents;
69 bool m_expiryEventsHasBeenSet = false;
70
71 Aws::String m_idempotencyToken;
72 bool m_idempotencyTokenHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ACM
77} // 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