AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UseCase.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/UseCaseType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
32 class UseCase
33 {
34 public:
35 AWS_CONNECT_API UseCase();
36 AWS_CONNECT_API UseCase(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECT_API UseCase& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetUseCaseId() const{ return m_useCaseId; }
46 inline bool UseCaseIdHasBeenSet() const { return m_useCaseIdHasBeenSet; }
47 inline void SetUseCaseId(const Aws::String& value) { m_useCaseIdHasBeenSet = true; m_useCaseId = value; }
48 inline void SetUseCaseId(Aws::String&& value) { m_useCaseIdHasBeenSet = true; m_useCaseId = std::move(value); }
49 inline void SetUseCaseId(const char* value) { m_useCaseIdHasBeenSet = true; m_useCaseId.assign(value); }
50 inline UseCase& WithUseCaseId(const Aws::String& value) { SetUseCaseId(value); return *this;}
51 inline UseCase& WithUseCaseId(Aws::String&& value) { SetUseCaseId(std::move(value)); return *this;}
52 inline UseCase& WithUseCaseId(const char* value) { SetUseCaseId(value); return *this;}
54
56
59 inline const Aws::String& GetUseCaseArn() const{ return m_useCaseArn; }
60 inline bool UseCaseArnHasBeenSet() const { return m_useCaseArnHasBeenSet; }
61 inline void SetUseCaseArn(const Aws::String& value) { m_useCaseArnHasBeenSet = true; m_useCaseArn = value; }
62 inline void SetUseCaseArn(Aws::String&& value) { m_useCaseArnHasBeenSet = true; m_useCaseArn = std::move(value); }
63 inline void SetUseCaseArn(const char* value) { m_useCaseArnHasBeenSet = true; m_useCaseArn.assign(value); }
64 inline UseCase& WithUseCaseArn(const Aws::String& value) { SetUseCaseArn(value); return *this;}
65 inline UseCase& WithUseCaseArn(Aws::String&& value) { SetUseCaseArn(std::move(value)); return *this;}
66 inline UseCase& WithUseCaseArn(const char* value) { SetUseCaseArn(value); return *this;}
68
70
74 inline const UseCaseType& GetUseCaseType() const{ return m_useCaseType; }
75 inline bool UseCaseTypeHasBeenSet() const { return m_useCaseTypeHasBeenSet; }
76 inline void SetUseCaseType(const UseCaseType& value) { m_useCaseTypeHasBeenSet = true; m_useCaseType = value; }
77 inline void SetUseCaseType(UseCaseType&& value) { m_useCaseTypeHasBeenSet = true; m_useCaseType = std::move(value); }
78 inline UseCase& WithUseCaseType(const UseCaseType& value) { SetUseCaseType(value); return *this;}
79 inline UseCase& WithUseCaseType(UseCaseType&& value) { SetUseCaseType(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_useCaseId;
84 bool m_useCaseIdHasBeenSet = false;
85
86 Aws::String m_useCaseArn;
87 bool m_useCaseArnHasBeenSet = false;
88
89 UseCaseType m_useCaseType;
90 bool m_useCaseTypeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
const UseCaseType & GetUseCaseType() const
Definition UseCase.h:74
UseCase & WithUseCaseId(Aws::String &&value)
Definition UseCase.h:51
UseCase & WithUseCaseType(UseCaseType &&value)
Definition UseCase.h:79
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUseCaseType(UseCaseType &&value)
Definition UseCase.h:77
AWS_CONNECT_API UseCase & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUseCaseId(const Aws::String &value)
Definition UseCase.h:47
UseCase & WithUseCaseArn(const char *value)
Definition UseCase.h:66
void SetUseCaseArn(const char *value)
Definition UseCase.h:63
bool UseCaseTypeHasBeenSet() const
Definition UseCase.h:75
UseCase & WithUseCaseId(const Aws::String &value)
Definition UseCase.h:50
void SetUseCaseArn(const Aws::String &value)
Definition UseCase.h:61
void SetUseCaseType(const UseCaseType &value)
Definition UseCase.h:76
void SetUseCaseArn(Aws::String &&value)
Definition UseCase.h:62
UseCase & WithUseCaseArn(const Aws::String &value)
Definition UseCase.h:64
void SetUseCaseId(const char *value)
Definition UseCase.h:49
AWS_CONNECT_API UseCase()
const Aws::String & GetUseCaseArn() const
Definition UseCase.h:59
AWS_CONNECT_API UseCase(Aws::Utils::Json::JsonView jsonValue)
UseCase & WithUseCaseArn(Aws::String &&value)
Definition UseCase.h:65
bool UseCaseArnHasBeenSet() const
Definition UseCase.h:60
bool UseCaseIdHasBeenSet() const
Definition UseCase.h:46
const Aws::String & GetUseCaseId() const
Definition UseCase.h:45
UseCase & WithUseCaseId(const char *value)
Definition UseCase.h:52
UseCase & WithUseCaseType(const UseCaseType &value)
Definition UseCase.h:78
void SetUseCaseId(Aws::String &&value)
Definition UseCase.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue