AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateResourceResult.h
1
6#pragma once
7#include <aws/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/servicecatalog-appregistry/model/AssociationOption.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace AppRegistry
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APPREGISTRY_API AssociateResourceResult();
35
36
38
42 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
43 inline void SetApplicationArn(const Aws::String& value) { m_applicationArn = value; }
44 inline void SetApplicationArn(Aws::String&& value) { m_applicationArn = std::move(value); }
45 inline void SetApplicationArn(const char* value) { m_applicationArn.assign(value); }
46 inline AssociateResourceResult& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
47 inline AssociateResourceResult& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
48 inline AssociateResourceResult& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
50
52
55 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
56 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
57 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
58 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
59 inline AssociateResourceResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
60 inline AssociateResourceResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
61 inline AssociateResourceResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
63
65
68 inline const Aws::Vector<AssociationOption>& GetOptions() const{ return m_options; }
69 inline void SetOptions(const Aws::Vector<AssociationOption>& value) { m_options = value; }
70 inline void SetOptions(Aws::Vector<AssociationOption>&& value) { m_options = std::move(value); }
72 inline AssociateResourceResult& WithOptions(Aws::Vector<AssociationOption>&& value) { SetOptions(std::move(value)); return *this;}
73 inline AssociateResourceResult& AddOptions(const AssociationOption& value) { m_options.push_back(value); return *this; }
74 inline AssociateResourceResult& AddOptions(AssociationOption&& value) { m_options.push_back(std::move(value)); return *this; }
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline AssociateResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline AssociateResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline AssociateResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_applicationArn;
90
91 Aws::String m_resourceArn;
92
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace AppRegistry
100} // namespace Aws
AssociateResourceResult & WithResourceArn(const char *value)
AssociateResourceResult & WithApplicationArn(const Aws::String &value)
AssociateResourceResult & AddOptions(AssociationOption &&value)
AssociateResourceResult & WithRequestId(Aws::String &&value)
const Aws::Vector< AssociationOption > & GetOptions() const
AWS_APPREGISTRY_API AssociateResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateResourceResult & AddOptions(const AssociationOption &value)
AssociateResourceResult & WithRequestId(const char *value)
AssociateResourceResult & WithApplicationArn(Aws::String &&value)
AWS_APPREGISTRY_API AssociateResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOptions(Aws::Vector< AssociationOption > &&value)
AssociateResourceResult & WithResourceArn(const Aws::String &value)
AssociateResourceResult & WithOptions(const Aws::Vector< AssociationOption > &value)
AssociateResourceResult & WithOptions(Aws::Vector< AssociationOption > &&value)
AssociateResourceResult & WithRequestId(const Aws::String &value)
void SetOptions(const Aws::Vector< AssociationOption > &value)
AssociateResourceResult & WithResourceArn(Aws::String &&value)
AssociateResourceResult & WithApplicationArn(const char *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