AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreatePublicKey2020_05_31Result.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/PublicKey.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace CloudFront
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CLOUDFRONT_API CreatePublicKey2020_05_31Result() = default;
34
35
37
40 inline const PublicKey& GetPublicKey() const { return m_publicKey; }
41 template<typename PublicKeyT = PublicKey>
42 void SetPublicKey(PublicKeyT&& value) { m_publicKeyHasBeenSet = true; m_publicKey = std::forward<PublicKeyT>(value); }
43 template<typename PublicKeyT = PublicKey>
44 CreatePublicKey2020_05_31Result& WithPublicKey(PublicKeyT&& value) { SetPublicKey(std::forward<PublicKeyT>(value)); return *this;}
46
48
51 inline const Aws::String& GetLocation() const { return m_location; }
52 template<typename LocationT = Aws::String>
53 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
54 template<typename LocationT = Aws::String>
55 CreatePublicKey2020_05_31Result& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
57
59
62 inline const Aws::String& GetETag() const { return m_eTag; }
63 template<typename ETagT = Aws::String>
64 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
65 template<typename ETagT = Aws::String>
66 CreatePublicKey2020_05_31Result& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 CreatePublicKey2020_05_31Result& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 PublicKey m_publicKey;
80 bool m_publicKeyHasBeenSet = false;
81
82 Aws::String m_location;
83 bool m_locationHasBeenSet = false;
84
85 Aws::String m_eTag;
86 bool m_eTagHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CloudFront
94} // namespace Aws
AWS_CLOUDFRONT_API CreatePublicKey2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreatePublicKey2020_05_31Result & WithRequestId(RequestIdT &&value)
CreatePublicKey2020_05_31Result & WithPublicKey(PublicKeyT &&value)
CreatePublicKey2020_05_31Result & WithETag(ETagT &&value)
AWS_CLOUDFRONT_API CreatePublicKey2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDFRONT_API CreatePublicKey2020_05_31Result()=default
CreatePublicKey2020_05_31Result & WithLocation(LocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument