AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
ConnectionFunctionTestResult.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/ConnectionFunctionSummary.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace CloudFront {
21namespace Model {
22
29 public:
30 AWS_CLOUDFRONT_API ConnectionFunctionTestResult() = default;
31 AWS_CLOUDFRONT_API ConnectionFunctionTestResult(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
40 inline const ConnectionFunctionSummary& GetConnectionFunctionSummary() const { return m_connectionFunctionSummary; }
41 inline bool ConnectionFunctionSummaryHasBeenSet() const { return m_connectionFunctionSummaryHasBeenSet; }
42 template <typename ConnectionFunctionSummaryT = ConnectionFunctionSummary>
43 void SetConnectionFunctionSummary(ConnectionFunctionSummaryT&& value) {
44 m_connectionFunctionSummaryHasBeenSet = true;
45 m_connectionFunctionSummary = std::forward<ConnectionFunctionSummaryT>(value);
46 }
47 template <typename ConnectionFunctionSummaryT = ConnectionFunctionSummary>
48 ConnectionFunctionTestResult& WithConnectionFunctionSummary(ConnectionFunctionSummaryT&& value) {
49 SetConnectionFunctionSummary(std::forward<ConnectionFunctionSummaryT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetComputeUtilization() const { return m_computeUtilization; }
59 inline bool ComputeUtilizationHasBeenSet() const { return m_computeUtilizationHasBeenSet; }
60 template <typename ComputeUtilizationT = Aws::String>
61 void SetComputeUtilization(ComputeUtilizationT&& value) {
62 m_computeUtilizationHasBeenSet = true;
63 m_computeUtilization = std::forward<ComputeUtilizationT>(value);
64 }
65 template <typename ComputeUtilizationT = Aws::String>
67 SetComputeUtilization(std::forward<ComputeUtilizationT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Vector<Aws::String>& GetConnectionFunctionExecutionLogs() const { return m_connectionFunctionExecutionLogs; }
77 inline bool ConnectionFunctionExecutionLogsHasBeenSet() const { return m_connectionFunctionExecutionLogsHasBeenSet; }
78 template <typename ConnectionFunctionExecutionLogsT = Aws::Vector<Aws::String>>
79 void SetConnectionFunctionExecutionLogs(ConnectionFunctionExecutionLogsT&& value) {
80 m_connectionFunctionExecutionLogsHasBeenSet = true;
81 m_connectionFunctionExecutionLogs = std::forward<ConnectionFunctionExecutionLogsT>(value);
82 }
83 template <typename ConnectionFunctionExecutionLogsT = Aws::Vector<Aws::String>>
84 ConnectionFunctionTestResult& WithConnectionFunctionExecutionLogs(ConnectionFunctionExecutionLogsT&& value) {
85 SetConnectionFunctionExecutionLogs(std::forward<ConnectionFunctionExecutionLogsT>(value));
86 return *this;
87 }
88 template <typename ConnectionFunctionExecutionLogsT = Aws::String>
89 ConnectionFunctionTestResult& AddConnectionFunctionExecutionLogs(ConnectionFunctionExecutionLogsT&& value) {
90 m_connectionFunctionExecutionLogsHasBeenSet = true;
91 m_connectionFunctionExecutionLogs.emplace_back(std::forward<ConnectionFunctionExecutionLogsT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::String& GetConnectionFunctionErrorMessage() const { return m_connectionFunctionErrorMessage; }
101 inline bool ConnectionFunctionErrorMessageHasBeenSet() const { return m_connectionFunctionErrorMessageHasBeenSet; }
102 template <typename ConnectionFunctionErrorMessageT = Aws::String>
103 void SetConnectionFunctionErrorMessage(ConnectionFunctionErrorMessageT&& value) {
104 m_connectionFunctionErrorMessageHasBeenSet = true;
105 m_connectionFunctionErrorMessage = std::forward<ConnectionFunctionErrorMessageT>(value);
106 }
107 template <typename ConnectionFunctionErrorMessageT = Aws::String>
108 ConnectionFunctionTestResult& WithConnectionFunctionErrorMessage(ConnectionFunctionErrorMessageT&& value) {
109 SetConnectionFunctionErrorMessage(std::forward<ConnectionFunctionErrorMessageT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetConnectionFunctionOutput() const { return m_connectionFunctionOutput; }
119 inline bool ConnectionFunctionOutputHasBeenSet() const { return m_connectionFunctionOutputHasBeenSet; }
120 template <typename ConnectionFunctionOutputT = Aws::String>
121 void SetConnectionFunctionOutput(ConnectionFunctionOutputT&& value) {
122 m_connectionFunctionOutputHasBeenSet = true;
123 m_connectionFunctionOutput = std::forward<ConnectionFunctionOutputT>(value);
124 }
125 template <typename ConnectionFunctionOutputT = Aws::String>
126 ConnectionFunctionTestResult& WithConnectionFunctionOutput(ConnectionFunctionOutputT&& value) {
127 SetConnectionFunctionOutput(std::forward<ConnectionFunctionOutputT>(value));
128 return *this;
129 }
131 private:
132 ConnectionFunctionSummary m_connectionFunctionSummary;
133
134 Aws::String m_computeUtilization;
135
136 Aws::Vector<Aws::String> m_connectionFunctionExecutionLogs;
137
138 Aws::String m_connectionFunctionErrorMessage;
139
140 Aws::String m_connectionFunctionOutput;
141 bool m_connectionFunctionSummaryHasBeenSet = false;
142 bool m_computeUtilizationHasBeenSet = false;
143 bool m_connectionFunctionExecutionLogsHasBeenSet = false;
144 bool m_connectionFunctionErrorMessageHasBeenSet = false;
145 bool m_connectionFunctionOutputHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace CloudFront
150} // namespace Aws
ConnectionFunctionTestResult & WithConnectionFunctionErrorMessage(ConnectionFunctionErrorMessageT &&value)
ConnectionFunctionTestResult & WithComputeUtilization(ComputeUtilizationT &&value)
AWS_CLOUDFRONT_API ConnectionFunctionTestResult(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetConnectionFunctionOutput(ConnectionFunctionOutputT &&value)
void SetConnectionFunctionErrorMessage(ConnectionFunctionErrorMessageT &&value)
void SetConnectionFunctionSummary(ConnectionFunctionSummaryT &&value)
ConnectionFunctionTestResult & WithConnectionFunctionSummary(ConnectionFunctionSummaryT &&value)
ConnectionFunctionTestResult & AddConnectionFunctionExecutionLogs(ConnectionFunctionExecutionLogsT &&value)
AWS_CLOUDFRONT_API ConnectionFunctionTestResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ConnectionFunctionTestResult & WithConnectionFunctionOutput(ConnectionFunctionOutputT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API ConnectionFunctionTestResult()=default
const Aws::Vector< Aws::String > & GetConnectionFunctionExecutionLogs() const
const ConnectionFunctionSummary & GetConnectionFunctionSummary() const
ConnectionFunctionTestResult & WithConnectionFunctionExecutionLogs(ConnectionFunctionExecutionLogsT &&value)
void SetConnectionFunctionExecutionLogs(ConnectionFunctionExecutionLogsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector