AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeSoftwareAssociationsResult.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/SoftwareAssociations.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 {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace AppStream {
24namespace Model {
26 public:
27 AWS_APPSTREAM_API DescribeSoftwareAssociationsResult() = default;
30
32
35 inline const Aws::String& GetAssociatedResource() const { return m_associatedResource; }
36 template <typename AssociatedResourceT = Aws::String>
37 void SetAssociatedResource(AssociatedResourceT&& value) {
38 m_associatedResourceHasBeenSet = true;
39 m_associatedResource = std::forward<AssociatedResourceT>(value);
40 }
41 template <typename AssociatedResourceT = Aws::String>
43 SetAssociatedResource(std::forward<AssociatedResourceT>(value));
44 return *this;
45 }
47
49
56 inline const Aws::Vector<SoftwareAssociations>& GetSoftwareAssociations() const { return m_softwareAssociations; }
57 template <typename SoftwareAssociationsT = Aws::Vector<SoftwareAssociations>>
58 void SetSoftwareAssociations(SoftwareAssociationsT&& value) {
59 m_softwareAssociationsHasBeenSet = true;
60 m_softwareAssociations = std::forward<SoftwareAssociationsT>(value);
61 }
62 template <typename SoftwareAssociationsT = Aws::Vector<SoftwareAssociations>>
64 SetSoftwareAssociations(std::forward<SoftwareAssociationsT>(value));
65 return *this;
66 }
67 template <typename SoftwareAssociationsT = SoftwareAssociations>
69 m_softwareAssociationsHasBeenSet = true;
70 m_softwareAssociations.emplace_back(std::forward<SoftwareAssociationsT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetNextToken() const { return m_nextToken; }
81 template <typename NextTokenT = Aws::String>
82 void SetNextToken(NextTokenT&& value) {
83 m_nextTokenHasBeenSet = true;
84 m_nextToken = std::forward<NextTokenT>(value);
85 }
86 template <typename NextTokenT = Aws::String>
88 SetNextToken(std::forward<NextTokenT>(value));
89 return *this;
90 }
92
94
95 inline const Aws::String& GetRequestId() const { return m_requestId; }
96 template <typename RequestIdT = Aws::String>
97 void SetRequestId(RequestIdT&& value) {
98 m_requestIdHasBeenSet = true;
99 m_requestId = std::forward<RequestIdT>(value);
100 }
101 template <typename RequestIdT = Aws::String>
103 SetRequestId(std::forward<RequestIdT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_associatedResource;
109
110 Aws::Vector<SoftwareAssociations> m_softwareAssociations;
111
112 Aws::String m_nextToken;
113
114 Aws::String m_requestId;
115 bool m_associatedResourceHasBeenSet = false;
116 bool m_softwareAssociationsHasBeenSet = false;
117 bool m_nextTokenHasBeenSet = false;
118 bool m_requestIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace AppStream
123} // namespace Aws
AWS_APPSTREAM_API DescribeSoftwareAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSoftwareAssociationsResult & WithSoftwareAssociations(SoftwareAssociationsT &&value)
DescribeSoftwareAssociationsResult & WithNextToken(NextTokenT &&value)
AWS_APPSTREAM_API DescribeSoftwareAssociationsResult()=default
AWS_APPSTREAM_API DescribeSoftwareAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< SoftwareAssociations > & GetSoftwareAssociations() const
DescribeSoftwareAssociationsResult & WithRequestId(RequestIdT &&value)
DescribeSoftwareAssociationsResult & WithAssociatedResource(AssociatedResourceT &&value)
DescribeSoftwareAssociationsResult & AddSoftwareAssociations(SoftwareAssociationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue