AWS SDK for C++  1.9.1
AWS SDK for C++
DescribeRepositoryAssociationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CodeGuruReviewer
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeRepositoryAssociation"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
43  inline const Aws::String& GetAssociationArn() const{ return m_associationArn; }
44 
53  inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; }
54 
63  inline void SetAssociationArn(const Aws::String& value) { m_associationArnHasBeenSet = true; m_associationArn = value; }
64 
73  inline void SetAssociationArn(Aws::String&& value) { m_associationArnHasBeenSet = true; m_associationArn = std::move(value); }
74 
83  inline void SetAssociationArn(const char* value) { m_associationArnHasBeenSet = true; m_associationArn.assign(value); }
84 
93  inline DescribeRepositoryAssociationRequest& WithAssociationArn(const Aws::String& value) { SetAssociationArn(value); return *this;}
94 
103  inline DescribeRepositoryAssociationRequest& WithAssociationArn(Aws::String&& value) { SetAssociationArn(std::move(value)); return *this;}
104 
113  inline DescribeRepositoryAssociationRequest& WithAssociationArn(const char* value) { SetAssociationArn(value); return *this;}
114 
115  private:
116 
117  Aws::String m_associationArn;
118  bool m_associationArnHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace CodeGuruReviewer
123 } // namespace Aws
CodeGuruReviewerRequest.h
AWS_CODEGURUREVIEWER_API
#define AWS_CODEGURUREVIEWER_API
Definition: CodeGuruReviewer_EXPORTS.h:28
Aws::CodeGuruReviewer::Model::DescribeRepositoryAssociationRequest::SetAssociationArn
void SetAssociationArn(const char *value)
Definition: DescribeRepositoryAssociationRequest.h:83
Aws::CodeGuruReviewer::CodeGuruReviewerRequest
Definition: CodeGuruReviewerRequest.h:17
CodeGuruReviewer_EXPORTS.h
Aws::CodeGuruReviewer::Model::DescribeRepositoryAssociationRequest::WithAssociationArn
DescribeRepositoryAssociationRequest & WithAssociationArn(Aws::String &&value)
Definition: DescribeRepositoryAssociationRequest.h:103
Aws::CodeGuruReviewer::Model::DescribeRepositoryAssociationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeGuruReviewer::Model::DescribeRepositoryAssociationRequest::GetAssociationArn
const Aws::String & GetAssociationArn() const
Definition: DescribeRepositoryAssociationRequest.h:43
Aws::CodeGuruReviewer::Model::DescribeRepositoryAssociationRequest::DescribeRepositoryAssociationRequest
DescribeRepositoryAssociationRequest()
AWSString.h
Aws::CodeGuruReviewer::Model::DescribeRepositoryAssociationRequest::AssociationArnHasBeenSet
bool AssociationArnHasBeenSet() const
Definition: DescribeRepositoryAssociationRequest.h:53
Aws::CodeGuruReviewer::Model::DescribeRepositoryAssociationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeRepositoryAssociationRequest.h:30
Aws::CodeGuruReviewer::Model::DescribeRepositoryAssociationRequest::WithAssociationArn
DescribeRepositoryAssociationRequest & WithAssociationArn(const Aws::String &value)
Definition: DescribeRepositoryAssociationRequest.h:93
Aws::CodeGuruReviewer::Model::DescribeRepositoryAssociationRequest::SetAssociationArn
void SetAssociationArn(const Aws::String &value)
Definition: DescribeRepositoryAssociationRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::CodeGuruReviewer::Model::DescribeRepositoryAssociationRequest::SetAssociationArn
void SetAssociationArn(Aws::String &&value)
Definition: DescribeRepositoryAssociationRequest.h:73
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeGuruReviewer::Model::DescribeRepositoryAssociationRequest
Definition: DescribeRepositoryAssociationRequest.h:22
Aws::CodeGuruReviewer::Model::DescribeRepositoryAssociationRequest::WithAssociationArn
DescribeRepositoryAssociationRequest & WithAssociationArn(const char *value)
Definition: DescribeRepositoryAssociationRequest.h:113