AWS SDK for C++  1.8.152
AWS SDK for C++
GetPullRequestOverrideStateResult.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 CodeCommit
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline bool GetOverridden() const{ return m_overridden; }
40 
45  inline void SetOverridden(bool value) { m_overridden = value; }
46 
51  inline GetPullRequestOverrideStateResult& WithOverridden(bool value) { SetOverridden(value); return *this;}
52 
53 
58  inline const Aws::String& GetOverrider() const{ return m_overrider; }
59 
64  inline void SetOverrider(const Aws::String& value) { m_overrider = value; }
65 
70  inline void SetOverrider(Aws::String&& value) { m_overrider = std::move(value); }
71 
76  inline void SetOverrider(const char* value) { m_overrider.assign(value); }
77 
82  inline GetPullRequestOverrideStateResult& WithOverrider(const Aws::String& value) { SetOverrider(value); return *this;}
83 
88  inline GetPullRequestOverrideStateResult& WithOverrider(Aws::String&& value) { SetOverrider(std::move(value)); return *this;}
89 
94  inline GetPullRequestOverrideStateResult& WithOverrider(const char* value) { SetOverrider(value); return *this;}
95 
96  private:
97 
98  bool m_overridden;
99 
100  Aws::String m_overrider;
101  };
102 
103 } // namespace Model
104 } // namespace CodeCommit
105 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::WithOverridden
GetPullRequestOverrideStateResult & WithOverridden(bool value)
Definition: GetPullRequestOverrideStateResult.h:51
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::SetOverrider
void SetOverrider(Aws::String &&value)
Definition: GetPullRequestOverrideStateResult.h:70
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::WithOverrider
GetPullRequestOverrideStateResult & WithOverrider(Aws::String &&value)
Definition: GetPullRequestOverrideStateResult.h:88
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::SetOverrider
void SetOverrider(const Aws::String &value)
Definition: GetPullRequestOverrideStateResult.h:64
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::GetOverridden
bool GetOverridden() const
Definition: GetPullRequestOverrideStateResult.h:39
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::GetPullRequestOverrideStateResult
GetPullRequestOverrideStateResult()
AWSString.h
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::WithOverrider
GetPullRequestOverrideStateResult & WithOverrider(const char *value)
Definition: GetPullRequestOverrideStateResult.h:94
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::GetPullRequestOverrideStateResult
GetPullRequestOverrideStateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::GetOverrider
const Aws::String & GetOverrider() const
Definition: GetPullRequestOverrideStateResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::SetOverrider
void SetOverrider(const char *value)
Definition: GetPullRequestOverrideStateResult.h:76
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::operator=
GetPullRequestOverrideStateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::SetOverridden
void SetOverridden(bool value)
Definition: GetPullRequestOverrideStateResult.h:45
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult::WithOverrider
GetPullRequestOverrideStateResult & WithOverrider(const Aws::String &value)
Definition: GetPullRequestOverrideStateResult.h:82
Aws::CodeCommit::Model::GetPullRequestOverrideStateResult
Definition: GetPullRequestOverrideStateResult.h:28