AWS SDK for C++  1.9.44
AWS SDK for C++
GetRepositoryTriggersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CodeCommit
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetRepositoryTriggers"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
45 
49  inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
50 
54  inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
55 
59  inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
60 
64  inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
65 
69  inline GetRepositoryTriggersRequest& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
70 
74  inline GetRepositoryTriggersRequest& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
75 
79  inline GetRepositoryTriggersRequest& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
80 
81  private:
82 
83  Aws::String m_repositoryName;
84  bool m_repositoryNameHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace CodeCommit
89 } // namespace Aws
Aws::CodeCommit::Model::GetRepositoryTriggersRequest::GetRepositoryTriggersRequest
GetRepositoryTriggersRequest()
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::GetRepositoryTriggersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeCommit::Model::GetRepositoryTriggersRequest::RepositoryNameHasBeenSet
bool RepositoryNameHasBeenSet() const
Definition: GetRepositoryTriggersRequest.h:49
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CodeCommit::Model::GetRepositoryTriggersRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodeCommit::CodeCommitRequest
Definition: CodeCommitRequest.h:17
Aws::CodeCommit::Model::GetRepositoryTriggersRequest::WithRepositoryName
GetRepositoryTriggersRequest & WithRepositoryName(Aws::String &&value)
Definition: GetRepositoryTriggersRequest.h:74
CodeCommitRequest.h
Aws::CodeCommit::Model::GetRepositoryTriggersRequest::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: GetRepositoryTriggersRequest.h:44
Aws::CodeCommit::Model::GetRepositoryTriggersRequest::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: GetRepositoryTriggersRequest.h:54
AWSString.h
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::GetRepositoryTriggersRequest::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: GetRepositoryTriggersRequest.h:59
Aws::CodeCommit::Model::GetRepositoryTriggersRequest::WithRepositoryName
GetRepositoryTriggersRequest & WithRepositoryName(const Aws::String &value)
Definition: GetRepositoryTriggersRequest.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::GetRepositoryTriggersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetRepositoryTriggersRequest.h:34
Aws::CodeCommit::Model::GetRepositoryTriggersRequest::WithRepositoryName
GetRepositoryTriggersRequest & WithRepositoryName(const char *value)
Definition: GetRepositoryTriggersRequest.h:79
Aws::CodeCommit::Model::GetRepositoryTriggersRequest::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: GetRepositoryTriggersRequest.h:64
Aws::CodeCommit::Model::GetRepositoryTriggersRequest
Definition: GetRepositoryTriggersRequest.h:26