AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
GetDistribution2020_05_31Result.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/Distribution.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFront {
23namespace Model {
31 public:
32 AWS_CLOUDFRONT_API GetDistribution2020_05_31Result() = default;
35
37
40 inline const Distribution& GetDistribution() const { return m_distribution; }
41 template <typename DistributionT = Distribution>
42 void SetDistribution(DistributionT&& value) {
43 m_distributionHasBeenSet = true;
44 m_distribution = std::forward<DistributionT>(value);
45 }
46 template <typename DistributionT = Distribution>
48 SetDistribution(std::forward<DistributionT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetETag() const { return m_eTag; }
59 template <typename ETagT = Aws::String>
60 void SetETag(ETagT&& value) {
61 m_eTagHasBeenSet = true;
62 m_eTag = std::forward<ETagT>(value);
63 }
64 template <typename ETagT = Aws::String>
66 SetETag(std::forward<ETagT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 private:
86 Distribution m_distribution;
87
88 Aws::String m_eTag;
89
90 Aws::String m_requestId;
91 bool m_distributionHasBeenSet = false;
92 bool m_eTagHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace CloudFront
98} // namespace Aws
GetDistribution2020_05_31Result & WithDistribution(DistributionT &&value)
GetDistribution2020_05_31Result & WithRequestId(RequestIdT &&value)
AWS_CLOUDFRONT_API GetDistribution2020_05_31Result()=default
AWS_CLOUDFRONT_API GetDistribution2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetDistribution2020_05_31Result & WithETag(ETagT &&value)
AWS_CLOUDFRONT_API GetDistribution2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument