AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
RegisterPublisherRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormationRequest.h>
8#include <aws/cloudformation/CloudFormation_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudFormation {
15namespace Model {
16
20 public:
21 AWS_CLOUDFORMATION_API RegisterPublisherRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "RegisterPublisher"; }
28
29 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
44 inline bool GetAcceptTermsAndConditions() const { return m_acceptTermsAndConditions; }
45 inline bool AcceptTermsAndConditionsHasBeenSet() const { return m_acceptTermsAndConditionsHasBeenSet; }
46 inline void SetAcceptTermsAndConditions(bool value) {
47 m_acceptTermsAndConditionsHasBeenSet = true;
48 m_acceptTermsAndConditions = value;
49 }
52 return *this;
53 }
55
57
65 inline const Aws::String& GetConnectionArn() const { return m_connectionArn; }
66 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
67 template <typename ConnectionArnT = Aws::String>
68 void SetConnectionArn(ConnectionArnT&& value) {
69 m_connectionArnHasBeenSet = true;
70 m_connectionArn = std::forward<ConnectionArnT>(value);
71 }
72 template <typename ConnectionArnT = Aws::String>
74 SetConnectionArn(std::forward<ConnectionArnT>(value));
75 return *this;
76 }
78 private:
79 bool m_acceptTermsAndConditions{false};
80
81 Aws::String m_connectionArn;
82 bool m_acceptTermsAndConditionsHasBeenSet = false;
83 bool m_connectionArnHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace CloudFormation
88} // namespace Aws
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
AWS_CLOUDFORMATION_API RegisterPublisherRequest()=default
RegisterPublisherRequest & WithAcceptTermsAndConditions(bool value)
RegisterPublisherRequest & WithConnectionArn(ConnectionArnT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String