AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateStreamingDistribution2020_05_31Result.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/StreamingDistribution.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 CreateStreamingDistribution2020_05_31Result() = default;
40
41
43
46 inline const StreamingDistribution& GetStreamingDistribution() const { return m_streamingDistribution; }
47 template<typename StreamingDistributionT = StreamingDistribution>
48 void SetStreamingDistribution(StreamingDistributionT&& value) { m_streamingDistributionHasBeenSet = true; m_streamingDistribution = std::forward<StreamingDistributionT>(value); }
49 template<typename StreamingDistributionT = StreamingDistribution>
50 CreateStreamingDistribution2020_05_31Result& WithStreamingDistribution(StreamingDistributionT&& value) { SetStreamingDistribution(std::forward<StreamingDistributionT>(value)); return *this;}
52
54
58 inline const Aws::String& GetLocation() const { return m_location; }
59 template<typename LocationT = Aws::String>
60 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
61 template<typename LocationT = Aws::String>
62 CreateStreamingDistribution2020_05_31Result& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
64
66
69 inline const Aws::String& GetETag() const { return m_eTag; }
70 template<typename ETagT = Aws::String>
71 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
72 template<typename ETagT = Aws::String>
73 CreateStreamingDistribution2020_05_31Result& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template<typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
81 template<typename RequestIdT = Aws::String>
82 CreateStreamingDistribution2020_05_31Result& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
84 private:
85
86 StreamingDistribution m_streamingDistribution;
87 bool m_streamingDistributionHasBeenSet = false;
88
89 Aws::String m_location;
90 bool m_locationHasBeenSet = false;
91
92 Aws::String m_eTag;
93 bool m_eTagHasBeenSet = false;
94
95 Aws::String m_requestId;
96 bool m_requestIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CloudFront
101} // namespace Aws
CreateStreamingDistribution2020_05_31Result & WithRequestId(RequestIdT &&value)
CreateStreamingDistribution2020_05_31Result & WithLocation(LocationT &&value)
AWS_CLOUDFRONT_API CreateStreamingDistribution2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDFRONT_API CreateStreamingDistribution2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateStreamingDistribution2020_05_31Result & WithStreamingDistribution(StreamingDistributionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument