AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteVocabularyResult.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 DeleteVocabularyResult() = default;
34
35
37
40 inline const Aws::String& GetVocabularyArn() const { return m_vocabularyArn; }
41 template<typename VocabularyArnT = Aws::String>
42 void SetVocabularyArn(VocabularyArnT&& value) { m_vocabularyArnHasBeenSet = true; m_vocabularyArn = std::forward<VocabularyArnT>(value); }
43 template<typename VocabularyArnT = Aws::String>
44 DeleteVocabularyResult& WithVocabularyArn(VocabularyArnT&& value) { SetVocabularyArn(std::forward<VocabularyArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetVocabularyId() const { return m_vocabularyId; }
52 template<typename VocabularyIdT = Aws::String>
53 void SetVocabularyId(VocabularyIdT&& value) { m_vocabularyIdHasBeenSet = true; m_vocabularyId = std::forward<VocabularyIdT>(value); }
54 template<typename VocabularyIdT = Aws::String>
55 DeleteVocabularyResult& WithVocabularyId(VocabularyIdT&& value) { SetVocabularyId(std::forward<VocabularyIdT>(value)); return *this;}
57
59
62 inline VocabularyState GetState() const { return m_state; }
63 inline void SetState(VocabularyState value) { m_stateHasBeenSet = true; m_state = value; }
64 inline DeleteVocabularyResult& WithState(VocabularyState value) { SetState(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 DeleteVocabularyResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_vocabularyArn;
78 bool m_vocabularyArnHasBeenSet = false;
79
80 Aws::String m_vocabularyId;
81 bool m_vocabularyIdHasBeenSet = false;
82
84 bool m_stateHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Connect
92} // namespace Aws
DeleteVocabularyResult & WithRequestId(RequestIdT &&value)
DeleteVocabularyResult & WithVocabularyArn(VocabularyArnT &&value)
DeleteVocabularyResult & WithVocabularyId(VocabularyIdT &&value)
AWS_CONNECT_API DeleteVocabularyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECT_API DeleteVocabularyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteVocabularyResult & WithState(VocabularyState value)
AWS_CONNECT_API DeleteVocabularyResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue