AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
AssociateDefaultVocabularyRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/VocabularyLanguageCode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API AssociateDefaultVocabularyRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AssociateDefaultVocabulary"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 template<typename InstanceIdT = Aws::String>
45 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
46 template<typename InstanceIdT = Aws::String>
47 AssociateDefaultVocabularyRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
49
51
57 inline VocabularyLanguageCode GetLanguageCode() const { return m_languageCode; }
58 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
59 inline void SetLanguageCode(VocabularyLanguageCode value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
62
64
68 inline const Aws::String& GetVocabularyId() const { return m_vocabularyId; }
69 inline bool VocabularyIdHasBeenSet() const { return m_vocabularyIdHasBeenSet; }
70 template<typename VocabularyIdT = Aws::String>
71 void SetVocabularyId(VocabularyIdT&& value) { m_vocabularyIdHasBeenSet = true; m_vocabularyId = std::forward<VocabularyIdT>(value); }
72 template<typename VocabularyIdT = Aws::String>
73 AssociateDefaultVocabularyRequest& WithVocabularyId(VocabularyIdT&& value) { SetVocabularyId(std::forward<VocabularyIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_instanceId;
78 bool m_instanceIdHasBeenSet = false;
79
81 bool m_languageCodeHasBeenSet = false;
82
83 Aws::String m_vocabularyId;
84 bool m_vocabularyIdHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Connect
89} // namespace Aws
AssociateDefaultVocabularyRequest & WithLanguageCode(VocabularyLanguageCode value)
AssociateDefaultVocabularyRequest & WithVocabularyId(VocabularyIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
AssociateDefaultVocabularyRequest & WithInstanceId(InstanceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String