AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline AssociateDefaultVocabularyRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline AssociateDefaultVocabularyRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline AssociateDefaultVocabularyRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
59 inline const VocabularyLanguageCode& GetLanguageCode() const{ return m_languageCode; }
60 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
61 inline void SetLanguageCode(const VocabularyLanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
62 inline void SetLanguageCode(VocabularyLanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
66
68
72 inline const Aws::String& GetVocabularyId() const{ return m_vocabularyId; }
73 inline bool VocabularyIdHasBeenSet() const { return m_vocabularyIdHasBeenSet; }
74 inline void SetVocabularyId(const Aws::String& value) { m_vocabularyIdHasBeenSet = true; m_vocabularyId = value; }
75 inline void SetVocabularyId(Aws::String&& value) { m_vocabularyIdHasBeenSet = true; m_vocabularyId = std::move(value); }
76 inline void SetVocabularyId(const char* value) { m_vocabularyIdHasBeenSet = true; m_vocabularyId.assign(value); }
78 inline AssociateDefaultVocabularyRequest& WithVocabularyId(Aws::String&& value) { SetVocabularyId(std::move(value)); return *this;}
79 inline AssociateDefaultVocabularyRequest& WithVocabularyId(const char* value) { SetVocabularyId(value); return *this;}
81 private:
82
83 Aws::String m_instanceId;
84 bool m_instanceIdHasBeenSet = false;
85
86 VocabularyLanguageCode m_languageCode;
87 bool m_languageCodeHasBeenSet = false;
88
89 Aws::String m_vocabularyId;
90 bool m_vocabularyIdHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
AssociateDefaultVocabularyRequest & WithInstanceId(const char *value)
AssociateDefaultVocabularyRequest & WithInstanceId(Aws::String &&value)
AssociateDefaultVocabularyRequest & WithInstanceId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
AssociateDefaultVocabularyRequest & WithLanguageCode(VocabularyLanguageCode &&value)
AssociateDefaultVocabularyRequest & WithVocabularyId(const char *value)
AssociateDefaultVocabularyRequest & WithLanguageCode(const VocabularyLanguageCode &value)
AssociateDefaultVocabularyRequest & WithVocabularyId(Aws::String &&value)
AssociateDefaultVocabularyRequest & WithVocabularyId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String