AWS SDK for C++  1.9.123
AWS SDK for C++
ResolveComponentCandidatesResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace GreengrassV2
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
41  inline const Aws::Vector<ResolvedComponentVersion>& GetResolvedComponentVersions() const{ return m_resolvedComponentVersions; }
42 
48  inline void SetResolvedComponentVersions(const Aws::Vector<ResolvedComponentVersion>& value) { m_resolvedComponentVersions = value; }
49 
55  inline void SetResolvedComponentVersions(Aws::Vector<ResolvedComponentVersion>&& value) { m_resolvedComponentVersions = std::move(value); }
56 
62  inline ResolveComponentCandidatesResult& WithResolvedComponentVersions(const Aws::Vector<ResolvedComponentVersion>& value) { SetResolvedComponentVersions(value); return *this;}
63 
69  inline ResolveComponentCandidatesResult& WithResolvedComponentVersions(Aws::Vector<ResolvedComponentVersion>&& value) { SetResolvedComponentVersions(std::move(value)); return *this;}
70 
76  inline ResolveComponentCandidatesResult& AddResolvedComponentVersions(const ResolvedComponentVersion& value) { m_resolvedComponentVersions.push_back(value); return *this; }
77 
83  inline ResolveComponentCandidatesResult& AddResolvedComponentVersions(ResolvedComponentVersion&& value) { m_resolvedComponentVersions.push_back(std::move(value)); return *this; }
84 
85  private:
86 
87  Aws::Vector<ResolvedComponentVersion> m_resolvedComponentVersions;
88  };
89 
90 } // namespace Model
91 } // namespace GreengrassV2
92 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GreengrassV2::Model::ResolveComponentCandidatesResult::WithResolvedComponentVersions
ResolveComponentCandidatesResult & WithResolvedComponentVersions(const Aws::Vector< ResolvedComponentVersion > &value)
Definition: ResolveComponentCandidatesResult.h:62
Aws::GreengrassV2::Model::ResolveComponentCandidatesResult::SetResolvedComponentVersions
void SetResolvedComponentVersions(const Aws::Vector< ResolvedComponentVersion > &value)
Definition: ResolveComponentCandidatesResult.h:48
Aws::GreengrassV2::Model::ResolveComponentCandidatesResult::AddResolvedComponentVersions
ResolveComponentCandidatesResult & AddResolvedComponentVersions(ResolvedComponentVersion &&value)
Definition: ResolveComponentCandidatesResult.h:83
GreengrassV2_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::ResolveComponentCandidatesResult::AddResolvedComponentVersions
ResolveComponentCandidatesResult & AddResolvedComponentVersions(const ResolvedComponentVersion &value)
Definition: ResolveComponentCandidatesResult.h:76
Aws::GreengrassV2::Model::ResolveComponentCandidatesResult::GetResolvedComponentVersions
const Aws::Vector< ResolvedComponentVersion > & GetResolvedComponentVersions() const
Definition: ResolveComponentCandidatesResult.h:41
Aws::GreengrassV2::Model::ResolveComponentCandidatesResult::WithResolvedComponentVersions
ResolveComponentCandidatesResult & WithResolvedComponentVersions(Aws::Vector< ResolvedComponentVersion > &&value)
Definition: ResolveComponentCandidatesResult.h:69
Aws::GreengrassV2::Model::ResolveComponentCandidatesResult::ResolveComponentCandidatesResult
ResolveComponentCandidatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::ResolveComponentCandidatesResult::operator=
ResolveComponentCandidatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::ResolvedComponentVersion
Definition: ResolvedComponentVersion.h:34
ResolvedComponentVersion.h
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::ResolveComponentCandidatesResult::SetResolvedComponentVersions
void SetResolvedComponentVersions(Aws::Vector< ResolvedComponentVersion > &&value)
Definition: ResolveComponentCandidatesResult.h:55
Aws::GreengrassV2::Model::ResolveComponentCandidatesResult::ResolveComponentCandidatesResult
ResolveComponentCandidatesResult()
Aws::GreengrassV2::Model::ResolveComponentCandidatesResult
Definition: ResolveComponentCandidatesResult.h:29