AWS SDK for C++  1.9.159
AWS SDK for C++
CreateHoursOfOperationResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Connect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetHoursOfOperationId() const{ return m_hoursOfOperationId; }
39 
43  inline void SetHoursOfOperationId(const Aws::String& value) { m_hoursOfOperationId = value; }
44 
48  inline void SetHoursOfOperationId(Aws::String&& value) { m_hoursOfOperationId = std::move(value); }
49 
53  inline void SetHoursOfOperationId(const char* value) { m_hoursOfOperationId.assign(value); }
54 
58  inline CreateHoursOfOperationResult& WithHoursOfOperationId(const Aws::String& value) { SetHoursOfOperationId(value); return *this;}
59 
63  inline CreateHoursOfOperationResult& WithHoursOfOperationId(Aws::String&& value) { SetHoursOfOperationId(std::move(value)); return *this;}
64 
68  inline CreateHoursOfOperationResult& WithHoursOfOperationId(const char* value) { SetHoursOfOperationId(value); return *this;}
69 
70 
74  inline const Aws::String& GetHoursOfOperationArn() const{ return m_hoursOfOperationArn; }
75 
79  inline void SetHoursOfOperationArn(const Aws::String& value) { m_hoursOfOperationArn = value; }
80 
84  inline void SetHoursOfOperationArn(Aws::String&& value) { m_hoursOfOperationArn = std::move(value); }
85 
89  inline void SetHoursOfOperationArn(const char* value) { m_hoursOfOperationArn.assign(value); }
90 
94  inline CreateHoursOfOperationResult& WithHoursOfOperationArn(const Aws::String& value) { SetHoursOfOperationArn(value); return *this;}
95 
99  inline CreateHoursOfOperationResult& WithHoursOfOperationArn(Aws::String&& value) { SetHoursOfOperationArn(std::move(value)); return *this;}
100 
104  inline CreateHoursOfOperationResult& WithHoursOfOperationArn(const char* value) { SetHoursOfOperationArn(value); return *this;}
105 
106  private:
107 
108  Aws::String m_hoursOfOperationId;
109 
110  Aws::String m_hoursOfOperationArn;
111  };
112 
113 } // namespace Model
114 } // namespace Connect
115 } // namespace Aws
Aws::Connect::Model::CreateHoursOfOperationResult::CreateHoursOfOperationResult
CreateHoursOfOperationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::CreateHoursOfOperationResult
Definition: CreateHoursOfOperationResult.h:28
Aws::Connect::Model::CreateHoursOfOperationResult::SetHoursOfOperationId
void SetHoursOfOperationId(Aws::String &&value)
Definition: CreateHoursOfOperationResult.h:48
Aws::Connect::Model::CreateHoursOfOperationResult::operator=
CreateHoursOfOperationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::CreateHoursOfOperationResult::GetHoursOfOperationId
const Aws::String & GetHoursOfOperationId() const
Definition: CreateHoursOfOperationResult.h:38
Aws::Connect::Model::CreateHoursOfOperationResult::SetHoursOfOperationId
void SetHoursOfOperationId(const char *value)
Definition: CreateHoursOfOperationResult.h:53
Aws::Connect::Model::CreateHoursOfOperationResult::WithHoursOfOperationArn
CreateHoursOfOperationResult & WithHoursOfOperationArn(const char *value)
Definition: CreateHoursOfOperationResult.h:104
Aws::Connect::Model::CreateHoursOfOperationResult::CreateHoursOfOperationResult
CreateHoursOfOperationResult()
Aws::Connect::Model::CreateHoursOfOperationResult::SetHoursOfOperationArn
void SetHoursOfOperationArn(const char *value)
Definition: CreateHoursOfOperationResult.h:89
Aws::Connect::Model::CreateHoursOfOperationResult::WithHoursOfOperationArn
CreateHoursOfOperationResult & WithHoursOfOperationArn(Aws::String &&value)
Definition: CreateHoursOfOperationResult.h:99
Aws::Connect::Model::CreateHoursOfOperationResult::SetHoursOfOperationId
void SetHoursOfOperationId(const Aws::String &value)
Definition: CreateHoursOfOperationResult.h:43
Aws::Connect::Model::CreateHoursOfOperationResult::SetHoursOfOperationArn
void SetHoursOfOperationArn(const Aws::String &value)
Definition: CreateHoursOfOperationResult.h:79
Aws::Connect::Model::CreateHoursOfOperationResult::WithHoursOfOperationId
CreateHoursOfOperationResult & WithHoursOfOperationId(Aws::String &&value)
Definition: CreateHoursOfOperationResult.h:63
AWSString.h
Aws::Connect::Model::CreateHoursOfOperationResult::WithHoursOfOperationId
CreateHoursOfOperationResult & WithHoursOfOperationId(const char *value)
Definition: CreateHoursOfOperationResult.h:68
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::CreateHoursOfOperationResult::GetHoursOfOperationArn
const Aws::String & GetHoursOfOperationArn() const
Definition: CreateHoursOfOperationResult.h:74
Aws::Connect::Model::CreateHoursOfOperationResult::WithHoursOfOperationId
CreateHoursOfOperationResult & WithHoursOfOperationId(const Aws::String &value)
Definition: CreateHoursOfOperationResult.h:58
Connect_EXPORTS.h
Aws::Connect::Model::CreateHoursOfOperationResult::SetHoursOfOperationArn
void SetHoursOfOperationArn(Aws::String &&value)
Definition: CreateHoursOfOperationResult.h:84
Aws::Connect::Model::CreateHoursOfOperationResult::WithHoursOfOperationArn
CreateHoursOfOperationResult & WithHoursOfOperationArn(const Aws::String &value)
Definition: CreateHoursOfOperationResult.h:94