AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DisassociateRepositoryRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace CodeGuruReviewer
15{
16namespace 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 "DisassociateRepository"; }
31
33
34
41 inline const Aws::String& GetAssociationArn() const{ return m_associationArn; }
42
49 inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; }
50
57 inline void SetAssociationArn(const Aws::String& value) { m_associationArnHasBeenSet = true; m_associationArn = value; }
58
65 inline void SetAssociationArn(Aws::String&& value) { m_associationArnHasBeenSet = true; m_associationArn = std::move(value); }
66
73 inline void SetAssociationArn(const char* value) { m_associationArnHasBeenSet = true; m_associationArn.assign(value); }
74
82
89 inline DisassociateRepositoryRequest& WithAssociationArn(Aws::String&& value) { SetAssociationArn(std::move(value)); return *this;}
90
97 inline DisassociateRepositoryRequest& WithAssociationArn(const char* value) { SetAssociationArn(value); return *this;}
98
99 private:
100
101 Aws::String m_associationArn;
102 bool m_associationArnHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace CodeGuruReviewer
107} // namespace Aws
#define AWS_CODEGURUREVIEWER_API
AWS_CODEGURUREVIEWER_API Aws::String SerializePayload() const override
DisassociateRepositoryRequest & WithAssociationArn(Aws::String &&value)
DisassociateRepositoryRequest & WithAssociationArn(const char *value)
DisassociateRepositoryRequest & WithAssociationArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String