AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Signer.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/KeyPairIds.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace CloudFront {
20namespace Model {
21
29class Signer {
30 public:
31 AWS_CLOUDFRONT_API Signer() = default;
32 AWS_CLOUDFRONT_API Signer(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_CLOUDFRONT_API Signer& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36
38
45 inline const Aws::String& GetAwsAccountNumber() const { return m_awsAccountNumber; }
46 inline bool AwsAccountNumberHasBeenSet() const { return m_awsAccountNumberHasBeenSet; }
47 template <typename AwsAccountNumberT = Aws::String>
48 void SetAwsAccountNumber(AwsAccountNumberT&& value) {
49 m_awsAccountNumberHasBeenSet = true;
50 m_awsAccountNumber = std::forward<AwsAccountNumberT>(value);
51 }
52 template <typename AwsAccountNumberT = Aws::String>
53 Signer& WithAwsAccountNumber(AwsAccountNumberT&& value) {
54 SetAwsAccountNumber(std::forward<AwsAccountNumberT>(value));
55 return *this;
56 }
58
60
63 inline const KeyPairIds& GetKeyPairIds() const { return m_keyPairIds; }
64 inline bool KeyPairIdsHasBeenSet() const { return m_keyPairIdsHasBeenSet; }
65 template <typename KeyPairIdsT = KeyPairIds>
66 void SetKeyPairIds(KeyPairIdsT&& value) {
67 m_keyPairIdsHasBeenSet = true;
68 m_keyPairIds = std::forward<KeyPairIdsT>(value);
69 }
70 template <typename KeyPairIdsT = KeyPairIds>
71 Signer& WithKeyPairIds(KeyPairIdsT&& value) {
72 SetKeyPairIds(std::forward<KeyPairIdsT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_awsAccountNumber;
78
79 KeyPairIds m_keyPairIds;
80 bool m_awsAccountNumberHasBeenSet = false;
81 bool m_keyPairIdsHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace CloudFront
86} // namespace Aws
void SetAwsAccountNumber(AwsAccountNumberT &&value)
Definition Signer.h:48
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Signer & WithKeyPairIds(KeyPairIdsT &&value)
Definition Signer.h:71
void SetKeyPairIds(KeyPairIdsT &&value)
Definition Signer.h:66
const KeyPairIds & GetKeyPairIds() const
Definition Signer.h:63
AWS_CLOUDFRONT_API Signer()=default
bool KeyPairIdsHasBeenSet() const
Definition Signer.h:64
AWS_CLOUDFRONT_API Signer(const Aws::Utils::Xml::XmlNode &xmlNode)
Signer & WithAwsAccountNumber(AwsAccountNumberT &&value)
Definition Signer.h:53
bool AwsAccountNumberHasBeenSet() const
Definition Signer.h:46
const Aws::String & GetAwsAccountNumber() const
Definition Signer.h:45
AWS_CLOUDFRONT_API Signer & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String