AWS SDK for C++  1.9.20
AWS SDK for C++
Signer.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace CloudFront
22 {
23 namespace Model
24 {
25 
34  {
35  public:
36  Signer();
39 
40  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41 
42 
49  inline const Aws::String& GetAwsAccountNumber() const{ return m_awsAccountNumber; }
50 
57  inline bool AwsAccountNumberHasBeenSet() const { return m_awsAccountNumberHasBeenSet; }
58 
65  inline void SetAwsAccountNumber(const Aws::String& value) { m_awsAccountNumberHasBeenSet = true; m_awsAccountNumber = value; }
66 
73  inline void SetAwsAccountNumber(Aws::String&& value) { m_awsAccountNumberHasBeenSet = true; m_awsAccountNumber = std::move(value); }
74 
81  inline void SetAwsAccountNumber(const char* value) { m_awsAccountNumberHasBeenSet = true; m_awsAccountNumber.assign(value); }
82 
89  inline Signer& WithAwsAccountNumber(const Aws::String& value) { SetAwsAccountNumber(value); return *this;}
90 
97  inline Signer& WithAwsAccountNumber(Aws::String&& value) { SetAwsAccountNumber(std::move(value)); return *this;}
98 
105  inline Signer& WithAwsAccountNumber(const char* value) { SetAwsAccountNumber(value); return *this;}
106 
107 
111  inline const KeyPairIds& GetKeyPairIds() const{ return m_keyPairIds; }
112 
116  inline bool KeyPairIdsHasBeenSet() const { return m_keyPairIdsHasBeenSet; }
117 
121  inline void SetKeyPairIds(const KeyPairIds& value) { m_keyPairIdsHasBeenSet = true; m_keyPairIds = value; }
122 
126  inline void SetKeyPairIds(KeyPairIds&& value) { m_keyPairIdsHasBeenSet = true; m_keyPairIds = std::move(value); }
127 
131  inline Signer& WithKeyPairIds(const KeyPairIds& value) { SetKeyPairIds(value); return *this;}
132 
136  inline Signer& WithKeyPairIds(KeyPairIds&& value) { SetKeyPairIds(std::move(value)); return *this;}
137 
138  private:
139 
140  Aws::String m_awsAccountNumber;
141  bool m_awsAccountNumberHasBeenSet;
142 
143  KeyPairIds m_keyPairIds;
144  bool m_keyPairIdsHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace CloudFront
149 } // namespace Aws
Aws::CloudFront::Model::Signer::GetKeyPairIds
const KeyPairIds & GetKeyPairIds() const
Definition: Signer.h:111
Aws::CloudFront::Model::Signer::Signer
Signer(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::Signer::WithKeyPairIds
Signer & WithKeyPairIds(const KeyPairIds &value)
Definition: Signer.h:131
Aws::CloudFront::Model::Signer::AwsAccountNumberHasBeenSet
bool AwsAccountNumberHasBeenSet() const
Definition: Signer.h:57
Aws::CloudFront::Model::Signer::GetAwsAccountNumber
const Aws::String & GetAwsAccountNumber() const
Definition: Signer.h:49
Aws::CloudFront::Model::Signer::Signer
Signer()
Aws::CloudFront::Model::Signer::SetKeyPairIds
void SetKeyPairIds(const KeyPairIds &value)
Definition: Signer.h:121
Aws::CloudFront::Model::Signer::WithAwsAccountNumber
Signer & WithAwsAccountNumber(Aws::String &&value)
Definition: Signer.h:97
Aws::CloudFront::Model::Signer
Definition: Signer.h:34
Aws::CloudFront::Model::Signer::KeyPairIdsHasBeenSet
bool KeyPairIdsHasBeenSet() const
Definition: Signer.h:116
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::Signer::WithAwsAccountNumber
Signer & WithAwsAccountNumber(const Aws::String &value)
Definition: Signer.h:89
Aws::CloudFront::Model::Signer::SetAwsAccountNumber
void SetAwsAccountNumber(const char *value)
Definition: Signer.h:81
Aws::CloudFront::Model::Signer::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWSString.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::Signer::operator=
Signer & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::Signer::WithAwsAccountNumber
Signer & WithAwsAccountNumber(const char *value)
Definition: Signer.h:105
Aws::CloudFront::Model::Signer::WithKeyPairIds
Signer & WithKeyPairIds(KeyPairIds &&value)
Definition: Signer.h:136
CloudFront_EXPORTS.h
Aws::CloudFront::Model::KeyPairIds
Definition: KeyPairIds.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::Signer::SetKeyPairIds
void SetKeyPairIds(KeyPairIds &&value)
Definition: Signer.h:126
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::Signer::SetAwsAccountNumber
void SetAwsAccountNumber(const Aws::String &value)
Definition: Signer.h:65
KeyPairIds.h
Aws::CloudFront::Model::Signer::SetAwsAccountNumber
void SetAwsAccountNumber(Aws::String &&value)
Definition: Signer.h:73