AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentStatusReference.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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
33 {
34 public:
35 AWS_CONNECT_API AgentStatusReference();
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetStatusStartTimestamp() const{ return m_statusStartTimestamp; }
46 inline bool StatusStartTimestampHasBeenSet() const { return m_statusStartTimestampHasBeenSet; }
47 inline void SetStatusStartTimestamp(const Aws::Utils::DateTime& value) { m_statusStartTimestampHasBeenSet = true; m_statusStartTimestamp = value; }
48 inline void SetStatusStartTimestamp(Aws::Utils::DateTime&& value) { m_statusStartTimestampHasBeenSet = true; m_statusStartTimestamp = std::move(value); }
52
54
57 inline const Aws::String& GetStatusArn() const{ return m_statusArn; }
58 inline bool StatusArnHasBeenSet() const { return m_statusArnHasBeenSet; }
59 inline void SetStatusArn(const Aws::String& value) { m_statusArnHasBeenSet = true; m_statusArn = value; }
60 inline void SetStatusArn(Aws::String&& value) { m_statusArnHasBeenSet = true; m_statusArn = std::move(value); }
61 inline void SetStatusArn(const char* value) { m_statusArnHasBeenSet = true; m_statusArn.assign(value); }
62 inline AgentStatusReference& WithStatusArn(const Aws::String& value) { SetStatusArn(value); return *this;}
63 inline AgentStatusReference& WithStatusArn(Aws::String&& value) { SetStatusArn(std::move(value)); return *this;}
64 inline AgentStatusReference& WithStatusArn(const char* value) { SetStatusArn(value); return *this;}
66
68
71 inline const Aws::String& GetStatusName() const{ return m_statusName; }
72 inline bool StatusNameHasBeenSet() const { return m_statusNameHasBeenSet; }
73 inline void SetStatusName(const Aws::String& value) { m_statusNameHasBeenSet = true; m_statusName = value; }
74 inline void SetStatusName(Aws::String&& value) { m_statusNameHasBeenSet = true; m_statusName = std::move(value); }
75 inline void SetStatusName(const char* value) { m_statusNameHasBeenSet = true; m_statusName.assign(value); }
76 inline AgentStatusReference& WithStatusName(const Aws::String& value) { SetStatusName(value); return *this;}
77 inline AgentStatusReference& WithStatusName(Aws::String&& value) { SetStatusName(std::move(value)); return *this;}
78 inline AgentStatusReference& WithStatusName(const char* value) { SetStatusName(value); return *this;}
80 private:
81
82 Aws::Utils::DateTime m_statusStartTimestamp;
83 bool m_statusStartTimestampHasBeenSet = false;
84
85 Aws::String m_statusArn;
86 bool m_statusArnHasBeenSet = false;
87
88 Aws::String m_statusName;
89 bool m_statusNameHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Connect
94} // namespace Aws
void SetStatusName(const Aws::String &value)
AWS_CONNECT_API AgentStatusReference(Aws::Utils::Json::JsonView jsonValue)
AgentStatusReference & WithStatusName(Aws::String &&value)
void SetStatusArn(const Aws::String &value)
AgentStatusReference & WithStatusArn(Aws::String &&value)
AgentStatusReference & WithStatusArn(const Aws::String &value)
void SetStatusStartTimestamp(Aws::Utils::DateTime &&value)
AWS_CONNECT_API AgentStatusReference & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStatusStartTimestamp() const
void SetStatusStartTimestamp(const Aws::Utils::DateTime &value)
AgentStatusReference & WithStatusName(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentStatusReference & WithStatusName(const Aws::String &value)
AgentStatusReference & WithStatusStartTimestamp(const Aws::Utils::DateTime &value)
AgentStatusReference & WithStatusArn(const char *value)
AgentStatusReference & WithStatusStartTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue