AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateDistribution2020_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#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{
35 {
36 public:
37 AWS_CLOUDFRONT_API CreateDistribution2020_05_31Result() = default;
40
41
43
46 inline const Distribution& GetDistribution() const { return m_distribution; }
47 template<typename DistributionT = Distribution>
48 void SetDistribution(DistributionT&& value) { m_distributionHasBeenSet = true; m_distribution = std::forward<DistributionT>(value); }
49 template<typename DistributionT = Distribution>
50 CreateDistribution2020_05_31Result& WithDistribution(DistributionT&& value) { SetDistribution(std::forward<DistributionT>(value)); return *this;}
52
54
57 inline const Aws::String& GetLocation() const { return m_location; }
58 template<typename LocationT = Aws::String>
59 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
60 template<typename LocationT = Aws::String>
61 CreateDistribution2020_05_31Result& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
63
65
68 inline const Aws::String& GetETag() const { return m_eTag; }
69 template<typename ETagT = Aws::String>
70 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
71 template<typename ETagT = Aws::String>
72 CreateDistribution2020_05_31Result& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template<typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
80 template<typename RequestIdT = Aws::String>
81 CreateDistribution2020_05_31Result& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
83 private:
84
85 Distribution m_distribution;
86 bool m_distributionHasBeenSet = false;
87
88 Aws::String m_location;
89 bool m_locationHasBeenSet = false;
90
91 Aws::String m_eTag;
92 bool m_eTagHasBeenSet = false;
93
94 Aws::String m_requestId;
95 bool m_requestIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace CloudFront
100} // namespace Aws
AWS_CLOUDFRONT_API CreateDistribution2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateDistribution2020_05_31Result & WithRequestId(RequestIdT &&value)
AWS_CLOUDFRONT_API CreateDistribution2020_05_31Result()=default
CreateDistribution2020_05_31Result & WithLocation(LocationT &&value)
AWS_CLOUDFRONT_API CreateDistribution2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateDistribution2020_05_31Result & WithDistribution(DistributionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument