AWS SDK for C++  1.9.107
AWS SDK for C++
GetWorkGroupResult.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 Athena
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const WorkGroup& GetWorkGroup() const{ return m_workGroup; }
39 
43  inline void SetWorkGroup(const WorkGroup& value) { m_workGroup = value; }
44 
48  inline void SetWorkGroup(WorkGroup&& value) { m_workGroup = std::move(value); }
49 
53  inline GetWorkGroupResult& WithWorkGroup(const WorkGroup& value) { SetWorkGroup(value); return *this;}
54 
58  inline GetWorkGroupResult& WithWorkGroup(WorkGroup&& value) { SetWorkGroup(std::move(value)); return *this;}
59 
60  private:
61 
62  WorkGroup m_workGroup;
63  };
64 
65 } // namespace Model
66 } // namespace Athena
67 } // namespace Aws
WorkGroup.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Athena::Model::GetWorkGroupResult::SetWorkGroup
void SetWorkGroup(const WorkGroup &value)
Definition: GetWorkGroupResult.h:43
Aws::Athena::Model::GetWorkGroupResult::SetWorkGroup
void SetWorkGroup(WorkGroup &&value)
Definition: GetWorkGroupResult.h:48
Aws::Athena::Model::WorkGroup
Definition: WorkGroup.h:45
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::GetWorkGroupResult::WithWorkGroup
GetWorkGroupResult & WithWorkGroup(WorkGroup &&value)
Definition: GetWorkGroupResult.h:58
Aws::Athena::Model::GetWorkGroupResult::WithWorkGroup
GetWorkGroupResult & WithWorkGroup(const WorkGroup &value)
Definition: GetWorkGroupResult.h:53
Athena_EXPORTS.h
Aws::Athena::Model::GetWorkGroupResult
Definition: GetWorkGroupResult.h:28
Aws::Athena::Model::GetWorkGroupResult::GetWorkGroupResult
GetWorkGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::GetWorkGroupResult::GetWorkGroup
const WorkGroup & GetWorkGroup() const
Definition: GetWorkGroupResult.h:38
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::GetWorkGroupResult::operator=
GetWorkGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::GetWorkGroupResult::GetWorkGroupResult
GetWorkGroupResult()