AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Signer.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/KeyPairIds.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
33 class Signer
34 {
35 public:
36 AWS_CLOUDFRONT_API Signer();
37 AWS_CLOUDFRONT_API Signer(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFRONT_API Signer& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
51 inline const Aws::String& GetAwsAccountNumber() const{ return m_awsAccountNumber; }
52 inline bool AwsAccountNumberHasBeenSet() const { return m_awsAccountNumberHasBeenSet; }
53 inline void SetAwsAccountNumber(const Aws::String& value) { m_awsAccountNumberHasBeenSet = true; m_awsAccountNumber = value; }
54 inline void SetAwsAccountNumber(Aws::String&& value) { m_awsAccountNumberHasBeenSet = true; m_awsAccountNumber = std::move(value); }
55 inline void SetAwsAccountNumber(const char* value) { m_awsAccountNumberHasBeenSet = true; m_awsAccountNumber.assign(value); }
56 inline Signer& WithAwsAccountNumber(const Aws::String& value) { SetAwsAccountNumber(value); return *this;}
57 inline Signer& WithAwsAccountNumber(Aws::String&& value) { SetAwsAccountNumber(std::move(value)); return *this;}
58 inline Signer& WithAwsAccountNumber(const char* value) { SetAwsAccountNumber(value); return *this;}
60
62
65 inline const KeyPairIds& GetKeyPairIds() const{ return m_keyPairIds; }
66 inline bool KeyPairIdsHasBeenSet() const { return m_keyPairIdsHasBeenSet; }
67 inline void SetKeyPairIds(const KeyPairIds& value) { m_keyPairIdsHasBeenSet = true; m_keyPairIds = value; }
68 inline void SetKeyPairIds(KeyPairIds&& value) { m_keyPairIdsHasBeenSet = true; m_keyPairIds = std::move(value); }
69 inline Signer& WithKeyPairIds(const KeyPairIds& value) { SetKeyPairIds(value); return *this;}
70 inline Signer& WithKeyPairIds(KeyPairIds&& value) { SetKeyPairIds(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_awsAccountNumber;
75 bool m_awsAccountNumberHasBeenSet = false;
76
77 KeyPairIds m_keyPairIds;
78 bool m_keyPairIdsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace CloudFront
83} // namespace Aws
void SetAwsAccountNumber(Aws::String &&value)
Definition Signer.h:54
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetKeyPairIds(KeyPairIds &&value)
Definition Signer.h:68
void SetAwsAccountNumber(const Aws::String &value)
Definition Signer.h:53
const KeyPairIds & GetKeyPairIds() const
Definition Signer.h:65
Signer & WithKeyPairIds(KeyPairIds &&value)
Definition Signer.h:70
AWS_CLOUDFRONT_API Signer()
Signer & WithKeyPairIds(const KeyPairIds &value)
Definition Signer.h:69
bool KeyPairIdsHasBeenSet() const
Definition Signer.h:66
AWS_CLOUDFRONT_API Signer(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAwsAccountNumber(const char *value)
Definition Signer.h:55
Signer & WithAwsAccountNumber(const char *value)
Definition Signer.h:58
Signer & WithAwsAccountNumber(const Aws::String &value)
Definition Signer.h:56
Signer & WithAwsAccountNumber(Aws::String &&value)
Definition Signer.h:57
bool AwsAccountNumberHasBeenSet() const
Definition Signer.h:52
const Aws::String & GetAwsAccountNumber() const
Definition Signer.h:51
AWS_CLOUDFRONT_API Signer & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetKeyPairIds(const KeyPairIds &value)
Definition Signer.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String