AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateHostResult.h
1
6#pragma once
7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codeconnections/model/Tag.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 CodeConnections
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CODECONNECTIONS_API CreateHostResult();
35
36
38
41 inline const Aws::String& GetHostArn() const{ return m_hostArn; }
42 inline void SetHostArn(const Aws::String& value) { m_hostArn = value; }
43 inline void SetHostArn(Aws::String&& value) { m_hostArn = std::move(value); }
44 inline void SetHostArn(const char* value) { m_hostArn.assign(value); }
45 inline CreateHostResult& WithHostArn(const Aws::String& value) { SetHostArn(value); return *this;}
46 inline CreateHostResult& WithHostArn(Aws::String&& value) { SetHostArn(std::move(value)); return *this;}
47 inline CreateHostResult& WithHostArn(const char* value) { SetHostArn(value); return *this;}
49
51
54 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
55 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
56 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
57 inline CreateHostResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
58 inline CreateHostResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
59 inline CreateHostResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
60 inline CreateHostResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline CreateHostResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline CreateHostResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline CreateHostResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
75 Aws::String m_hostArn;
76
77 Aws::Vector<Tag> m_tags;
78
79 Aws::String m_requestId;
80 };
81
82} // namespace Model
83} // namespace CodeConnections
84} // namespace Aws
CreateHostResult & WithHostArn(Aws::String &&value)
AWS_CODECONNECTIONS_API CreateHostResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateHostResult & AddTags(Tag &&value)
CreateHostResult & WithTags(const Aws::Vector< Tag > &value)
CreateHostResult & WithHostArn(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateHostResult & WithTags(Aws::Vector< Tag > &&value)
CreateHostResult & WithHostArn(const char *value)
void SetRequestId(const Aws::String &value)
CreateHostResult & WithRequestId(Aws::String &&value)
CreateHostResult & WithRequestId(const char *value)
AWS_CODECONNECTIONS_API CreateHostResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateHostResult & AddTags(const Tag &value)
AWS_CODECONNECTIONS_API CreateHostResult()
const Aws::Vector< Tag > & GetTags() const
void SetHostArn(const Aws::String &value)
CreateHostResult & WithRequestId(const Aws::String &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