AWS SDK for C++  1.9.154
AWS SDK for C++
UseCase.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Connect
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetUseCaseId() const{ return m_useCaseId; }
45 
49  inline bool UseCaseIdHasBeenSet() const { return m_useCaseIdHasBeenSet; }
50 
54  inline void SetUseCaseId(const Aws::String& value) { m_useCaseIdHasBeenSet = true; m_useCaseId = value; }
55 
59  inline void SetUseCaseId(Aws::String&& value) { m_useCaseIdHasBeenSet = true; m_useCaseId = std::move(value); }
60 
64  inline void SetUseCaseId(const char* value) { m_useCaseIdHasBeenSet = true; m_useCaseId.assign(value); }
65 
69  inline UseCase& WithUseCaseId(const Aws::String& value) { SetUseCaseId(value); return *this;}
70 
74  inline UseCase& WithUseCaseId(Aws::String&& value) { SetUseCaseId(std::move(value)); return *this;}
75 
79  inline UseCase& WithUseCaseId(const char* value) { SetUseCaseId(value); return *this;}
80 
81 
85  inline const Aws::String& GetUseCaseArn() const{ return m_useCaseArn; }
86 
90  inline bool UseCaseArnHasBeenSet() const { return m_useCaseArnHasBeenSet; }
91 
95  inline void SetUseCaseArn(const Aws::String& value) { m_useCaseArnHasBeenSet = true; m_useCaseArn = value; }
96 
100  inline void SetUseCaseArn(Aws::String&& value) { m_useCaseArnHasBeenSet = true; m_useCaseArn = std::move(value); }
101 
105  inline void SetUseCaseArn(const char* value) { m_useCaseArnHasBeenSet = true; m_useCaseArn.assign(value); }
106 
110  inline UseCase& WithUseCaseArn(const Aws::String& value) { SetUseCaseArn(value); return *this;}
111 
115  inline UseCase& WithUseCaseArn(Aws::String&& value) { SetUseCaseArn(std::move(value)); return *this;}
116 
120  inline UseCase& WithUseCaseArn(const char* value) { SetUseCaseArn(value); return *this;}
121 
122 
127  inline const UseCaseType& GetUseCaseType() const{ return m_useCaseType; }
128 
133  inline bool UseCaseTypeHasBeenSet() const { return m_useCaseTypeHasBeenSet; }
134 
139  inline void SetUseCaseType(const UseCaseType& value) { m_useCaseTypeHasBeenSet = true; m_useCaseType = value; }
140 
145  inline void SetUseCaseType(UseCaseType&& value) { m_useCaseTypeHasBeenSet = true; m_useCaseType = std::move(value); }
146 
151  inline UseCase& WithUseCaseType(const UseCaseType& value) { SetUseCaseType(value); return *this;}
152 
157  inline UseCase& WithUseCaseType(UseCaseType&& value) { SetUseCaseType(std::move(value)); return *this;}
158 
159  private:
160 
161  Aws::String m_useCaseId;
162  bool m_useCaseIdHasBeenSet;
163 
164  Aws::String m_useCaseArn;
165  bool m_useCaseArnHasBeenSet;
166 
167  UseCaseType m_useCaseType;
168  bool m_useCaseTypeHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace Connect
173 } // namespace Aws
Aws::Connect::Model::UseCase
Definition: UseCase.h:33
Aws::Connect::Model::UseCase::UseCaseTypeHasBeenSet
bool UseCaseTypeHasBeenSet() const
Definition: UseCase.h:133
Aws::Connect::Model::UseCase::SetUseCaseArn
void SetUseCaseArn(const char *value)
Definition: UseCase.h:105
Aws::Connect::Model::UseCase::operator=
UseCase & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::UseCase::GetUseCaseId
const Aws::String & GetUseCaseId() const
Definition: UseCase.h:44
Aws::Connect::Model::UseCase::SetUseCaseId
void SetUseCaseId(Aws::String &&value)
Definition: UseCase.h:59
Aws::Connect::Model::UseCase::UseCaseIdHasBeenSet
bool UseCaseIdHasBeenSet() const
Definition: UseCase.h:49
Aws::Connect::Model::UseCase::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::UseCase::WithUseCaseType
UseCase & WithUseCaseType(UseCaseType &&value)
Definition: UseCase.h:157
Aws::Connect::Model::UseCase::WithUseCaseArn
UseCase & WithUseCaseArn(const Aws::String &value)
Definition: UseCase.h:110
Aws::Connect::Model::UseCase::WithUseCaseId
UseCase & WithUseCaseId(const Aws::String &value)
Definition: UseCase.h:69
Aws::Connect::Model::UseCaseType
UseCaseType
Definition: UseCaseType.h:17
UseCaseType.h
Aws::Connect::Model::UseCase::WithUseCaseArn
UseCase & WithUseCaseArn(Aws::String &&value)
Definition: UseCase.h:115
Aws::Connect::Model::UseCase::SetUseCaseArn
void SetUseCaseArn(const Aws::String &value)
Definition: UseCase.h:95
Aws::Connect::Model::UseCase::UseCase
UseCase(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::UseCase::SetUseCaseId
void SetUseCaseId(const Aws::String &value)
Definition: UseCase.h:54
Aws::Connect::Model::UseCase::WithUseCaseId
UseCase & WithUseCaseId(const char *value)
Definition: UseCase.h:79
Aws::Connect::Model::UseCase::GetUseCaseType
const UseCaseType & GetUseCaseType() const
Definition: UseCase.h:127
Aws::Connect::Model::UseCase::SetUseCaseId
void SetUseCaseId(const char *value)
Definition: UseCase.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Connect::Model::UseCase::UseCaseArnHasBeenSet
bool UseCaseArnHasBeenSet() const
Definition: UseCase.h:90
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::UseCase::WithUseCaseId
UseCase & WithUseCaseId(Aws::String &&value)
Definition: UseCase.h:74
Aws::Connect::Model::UseCase::UseCase
UseCase()
Aws::Connect::Model::UseCase::SetUseCaseArn
void SetUseCaseArn(Aws::String &&value)
Definition: UseCase.h:100
Aws::Connect::Model::UseCase::GetUseCaseArn
const Aws::String & GetUseCaseArn() const
Definition: UseCase.h:85
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UseCase::WithUseCaseArn
UseCase & WithUseCaseArn(const char *value)
Definition: UseCase.h:120
Aws::Connect::Model::UseCase::SetUseCaseType
void SetUseCaseType(const UseCaseType &value)
Definition: UseCase.h:139
Aws::Connect::Model::UseCase::WithUseCaseType
UseCase & WithUseCaseType(const UseCaseType &value)
Definition: UseCase.h:151
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UseCase::SetUseCaseType
void SetUseCaseType(UseCaseType &&value)
Definition: UseCase.h:145
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h