AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVocabularyResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/VocabularyState.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CONNECT_API CreateVocabularyResult();
34
35
37
40 inline const Aws::String& GetVocabularyArn() const{ return m_vocabularyArn; }
41 inline void SetVocabularyArn(const Aws::String& value) { m_vocabularyArn = value; }
42 inline void SetVocabularyArn(Aws::String&& value) { m_vocabularyArn = std::move(value); }
43 inline void SetVocabularyArn(const char* value) { m_vocabularyArn.assign(value); }
44 inline CreateVocabularyResult& WithVocabularyArn(const Aws::String& value) { SetVocabularyArn(value); return *this;}
45 inline CreateVocabularyResult& WithVocabularyArn(Aws::String&& value) { SetVocabularyArn(std::move(value)); return *this;}
46 inline CreateVocabularyResult& WithVocabularyArn(const char* value) { SetVocabularyArn(value); return *this;}
48
50
53 inline const Aws::String& GetVocabularyId() const{ return m_vocabularyId; }
54 inline void SetVocabularyId(const Aws::String& value) { m_vocabularyId = value; }
55 inline void SetVocabularyId(Aws::String&& value) { m_vocabularyId = std::move(value); }
56 inline void SetVocabularyId(const char* value) { m_vocabularyId.assign(value); }
57 inline CreateVocabularyResult& WithVocabularyId(const Aws::String& value) { SetVocabularyId(value); return *this;}
58 inline CreateVocabularyResult& WithVocabularyId(Aws::String&& value) { SetVocabularyId(std::move(value)); return *this;}
59 inline CreateVocabularyResult& WithVocabularyId(const char* value) { SetVocabularyId(value); return *this;}
61
63
66 inline const VocabularyState& GetState() const{ return m_state; }
67 inline void SetState(const VocabularyState& value) { m_state = value; }
68 inline void SetState(VocabularyState&& value) { m_state = std::move(value); }
69 inline CreateVocabularyResult& WithState(const VocabularyState& value) { SetState(value); return *this;}
70 inline CreateVocabularyResult& WithState(VocabularyState&& value) { SetState(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CreateVocabularyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CreateVocabularyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CreateVocabularyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_vocabularyArn;
86
87 Aws::String m_vocabularyId;
88
89 VocabularyState m_state;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Connect
96} // namespace Aws
CreateVocabularyResult & WithVocabularyArn(const Aws::String &value)
CreateVocabularyResult & WithState(VocabularyState &&value)
CreateVocabularyResult & WithState(const VocabularyState &value)
AWS_CONNECT_API CreateVocabularyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateVocabularyResult & WithRequestId(const Aws::String &value)
CreateVocabularyResult & WithVocabularyId(const Aws::String &value)
CreateVocabularyResult & WithRequestId(const char *value)
CreateVocabularyResult & WithVocabularyArn(Aws::String &&value)
CreateVocabularyResult & WithVocabularyId(const char *value)
void SetState(const VocabularyState &value)
CreateVocabularyResult & WithVocabularyArn(const char *value)
CreateVocabularyResult & WithRequestId(Aws::String &&value)
AWS_CONNECT_API CreateVocabularyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateVocabularyResult & WithVocabularyId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue