AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAssociatedResourceResult.h
1
6#pragma once
7#include <aws/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8#include <aws/servicecatalog-appregistry/model/Resource.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/servicecatalog-appregistry/model/ApplicationTagResult.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/servicecatalog-appregistry/model/AssociationOption.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace AppRegistry
28{
29namespace Model
30{
32 {
33 public:
34 AWS_APPREGISTRY_API GetAssociatedResourceResult();
37
38
40
43 inline const Resource& GetResource() const{ return m_resource; }
44 inline void SetResource(const Resource& value) { m_resource = value; }
45 inline void SetResource(Resource&& value) { m_resource = std::move(value); }
46 inline GetAssociatedResourceResult& WithResource(const Resource& value) { SetResource(value); return *this;}
47 inline GetAssociatedResourceResult& WithResource(Resource&& value) { SetResource(std::move(value)); return *this;}
49
51
54 inline const Aws::Vector<AssociationOption>& GetOptions() const{ return m_options; }
55 inline void SetOptions(const Aws::Vector<AssociationOption>& value) { m_options = value; }
56 inline void SetOptions(Aws::Vector<AssociationOption>&& value) { m_options = std::move(value); }
58 inline GetAssociatedResourceResult& WithOptions(Aws::Vector<AssociationOption>&& value) { SetOptions(std::move(value)); return *this;}
59 inline GetAssociatedResourceResult& AddOptions(const AssociationOption& value) { m_options.push_back(value); return *this; }
60 inline GetAssociatedResourceResult& AddOptions(AssociationOption&& value) { m_options.push_back(std::move(value)); return *this; }
62
64
67 inline const ApplicationTagResult& GetApplicationTagResult() const{ return m_applicationTagResult; }
68 inline void SetApplicationTagResult(const ApplicationTagResult& value) { m_applicationTagResult = value; }
69 inline void SetApplicationTagResult(ApplicationTagResult&& value) { m_applicationTagResult = std::move(value); }
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline GetAssociatedResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline GetAssociatedResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline GetAssociatedResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Resource m_resource;
87
89
90 ApplicationTagResult m_applicationTagResult;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace AppRegistry
97} // namespace Aws
GetAssociatedResourceResult & WithRequestId(const Aws::String &value)
GetAssociatedResourceResult & WithRequestId(Aws::String &&value)
AWS_APPREGISTRY_API GetAssociatedResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOptions(Aws::Vector< AssociationOption > &&value)
void SetOptions(const Aws::Vector< AssociationOption > &value)
void SetApplicationTagResult(const ApplicationTagResult &value)
GetAssociatedResourceResult & WithApplicationTagResult(ApplicationTagResult &&value)
GetAssociatedResourceResult & WithResource(const Resource &value)
const Aws::Vector< AssociationOption > & GetOptions() const
GetAssociatedResourceResult & WithRequestId(const char *value)
GetAssociatedResourceResult & WithOptions(Aws::Vector< AssociationOption > &&value)
GetAssociatedResourceResult & WithOptions(const Aws::Vector< AssociationOption > &value)
GetAssociatedResourceResult & AddOptions(const AssociationOption &value)
GetAssociatedResourceResult & WithResource(Resource &&value)
GetAssociatedResourceResult & AddOptions(AssociationOption &&value)
AWS_APPREGISTRY_API GetAssociatedResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAssociatedResourceResult & WithApplicationTagResult(const ApplicationTagResult &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