AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
AssociateCollectorResult.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/continuum/model/AssociatedCollector.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Continuum {
24namespace Model {
32 public:
33 AWS_CONTINUUM_API AssociateCollectorResult() = default;
36
38
41 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
42 template <typename EnvironmentIdT = Aws::String>
43 void SetEnvironmentId(EnvironmentIdT&& value) {
44 m_environmentIdHasBeenSet = true;
45 m_environmentId = std::forward<EnvironmentIdT>(value);
46 }
47 template <typename EnvironmentIdT = Aws::String>
49 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
59 template <typename EnvironmentArnT = Aws::String>
60 void SetEnvironmentArn(EnvironmentArnT&& value) {
61 m_environmentArnHasBeenSet = true;
62 m_environmentArn = std::forward<EnvironmentArnT>(value);
63 }
64 template <typename EnvironmentArnT = Aws::String>
65 AssociateCollectorResult& WithEnvironmentArn(EnvironmentArnT&& value) {
66 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
67 return *this;
68 }
70
72
75 inline const AssociatedCollector& GetAssociatedCollector() const { return m_associatedCollector; }
76 template <typename AssociatedCollectorT = AssociatedCollector>
77 void SetAssociatedCollector(AssociatedCollectorT&& value) {
78 m_associatedCollectorHasBeenSet = true;
79 m_associatedCollector = std::forward<AssociatedCollectorT>(value);
80 }
81 template <typename AssociatedCollectorT = AssociatedCollector>
82 AssociateCollectorResult& WithAssociatedCollector(AssociatedCollectorT&& value) {
83 SetAssociatedCollector(std::forward<AssociatedCollectorT>(value));
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
103
104 private:
105 Aws::String m_environmentId;
106
107 Aws::String m_environmentArn;
108
109 AssociatedCollector m_associatedCollector;
110
111 Aws::String m_requestId;
112 Aws::Http::HttpResponseCode m_HttpResponseCode;
113 bool m_environmentIdHasBeenSet = false;
114 bool m_environmentArnHasBeenSet = false;
115 bool m_associatedCollectorHasBeenSet = false;
116 bool m_requestIdHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace Continuum
121} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AssociateCollectorResult & WithEnvironmentId(EnvironmentIdT &&value)
AssociateCollectorResult & WithRequestId(RequestIdT &&value)
AssociateCollectorResult & WithEnvironmentArn(EnvironmentArnT &&value)
AssociateCollectorResult & WithAssociatedCollector(AssociatedCollectorT &&value)
AWS_CONTINUUM_API AssociateCollectorResult()=default
AWS_CONTINUUM_API AssociateCollectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAssociatedCollector(AssociatedCollectorT &&value)
AWS_CONTINUUM_API AssociateCollectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const AssociatedCollector & GetAssociatedCollector() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue