AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProjectVisibilityRequest.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/CodeBuildRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codebuild/model/ProjectVisibilityType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeBuild
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODEBUILD_API UpdateProjectVisibilityRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateProjectVisibility"; }
32
33 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
43 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
44 inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
45 inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
46 inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
47 inline UpdateProjectVisibilityRequest& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
48 inline UpdateProjectVisibilityRequest& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
49 inline UpdateProjectVisibilityRequest& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
51
53
54 inline const ProjectVisibilityType& GetProjectVisibility() const{ return m_projectVisibility; }
55 inline bool ProjectVisibilityHasBeenSet() const { return m_projectVisibilityHasBeenSet; }
56 inline void SetProjectVisibility(const ProjectVisibilityType& value) { m_projectVisibilityHasBeenSet = true; m_projectVisibility = value; }
57 inline void SetProjectVisibility(ProjectVisibilityType&& value) { m_projectVisibilityHasBeenSet = true; m_projectVisibility = std::move(value); }
61
63
67 inline const Aws::String& GetResourceAccessRole() const{ return m_resourceAccessRole; }
68 inline bool ResourceAccessRoleHasBeenSet() const { return m_resourceAccessRoleHasBeenSet; }
69 inline void SetResourceAccessRole(const Aws::String& value) { m_resourceAccessRoleHasBeenSet = true; m_resourceAccessRole = value; }
70 inline void SetResourceAccessRole(Aws::String&& value) { m_resourceAccessRoleHasBeenSet = true; m_resourceAccessRole = std::move(value); }
71 inline void SetResourceAccessRole(const char* value) { m_resourceAccessRoleHasBeenSet = true; m_resourceAccessRole.assign(value); }
74 inline UpdateProjectVisibilityRequest& WithResourceAccessRole(const char* value) { SetResourceAccessRole(value); return *this;}
76 private:
77
78 Aws::String m_projectArn;
79 bool m_projectArnHasBeenSet = false;
80
81 ProjectVisibilityType m_projectVisibility;
82 bool m_projectVisibilityHasBeenSet = false;
83
84 Aws::String m_resourceAccessRole;
85 bool m_resourceAccessRoleHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CodeBuild
90} // namespace Aws
UpdateProjectVisibilityRequest & WithProjectVisibility(const ProjectVisibilityType &value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateProjectVisibilityRequest & WithResourceAccessRole(const Aws::String &value)
UpdateProjectVisibilityRequest & WithProjectArn(Aws::String &&value)
UpdateProjectVisibilityRequest & WithProjectArn(const Aws::String &value)
UpdateProjectVisibilityRequest & WithProjectArn(const char *value)
UpdateProjectVisibilityRequest & WithProjectVisibility(ProjectVisibilityType &&value)
UpdateProjectVisibilityRequest & WithResourceAccessRole(Aws::String &&value)
UpdateProjectVisibilityRequest & WithResourceAccessRole(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String