AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProjectVisibilityResult.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codebuild/model/ProjectVisibilityType.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeBuild
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CODEBUILD_API UpdateProjectVisibilityResult();
34
35
37
40 inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
41 inline void SetProjectArn(const Aws::String& value) { m_projectArn = value; }
42 inline void SetProjectArn(Aws::String&& value) { m_projectArn = std::move(value); }
43 inline void SetProjectArn(const char* value) { m_projectArn.assign(value); }
44 inline UpdateProjectVisibilityResult& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
45 inline UpdateProjectVisibilityResult& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
46 inline UpdateProjectVisibilityResult& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
48
50
53 inline const Aws::String& GetPublicProjectAlias() const{ return m_publicProjectAlias; }
54 inline void SetPublicProjectAlias(const Aws::String& value) { m_publicProjectAlias = value; }
55 inline void SetPublicProjectAlias(Aws::String&& value) { m_publicProjectAlias = std::move(value); }
56 inline void SetPublicProjectAlias(const char* value) { m_publicProjectAlias.assign(value); }
59 inline UpdateProjectVisibilityResult& WithPublicProjectAlias(const char* value) { SetPublicProjectAlias(value); return *this;}
61
63
64 inline const ProjectVisibilityType& GetProjectVisibility() const{ return m_projectVisibility; }
65 inline void SetProjectVisibility(const ProjectVisibilityType& value) { m_projectVisibility = value; }
66 inline void SetProjectVisibility(ProjectVisibilityType&& value) { m_projectVisibility = std::move(value); }
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline UpdateProjectVisibilityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline UpdateProjectVisibilityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline UpdateProjectVisibilityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 Aws::String m_projectArn;
84
85 Aws::String m_publicProjectAlias;
86
87 ProjectVisibilityType m_projectVisibility;
88
89 Aws::String m_requestId;
90 };
91
92} // namespace Model
93} // namespace CodeBuild
94} // namespace Aws
UpdateProjectVisibilityResult & WithProjectVisibility(ProjectVisibilityType &&value)
UpdateProjectVisibilityResult & WithRequestId(const Aws::String &value)
AWS_CODEBUILD_API UpdateProjectVisibilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateProjectVisibilityResult & WithProjectArn(const char *value)
UpdateProjectVisibilityResult & WithRequestId(Aws::String &&value)
UpdateProjectVisibilityResult & WithProjectArn(Aws::String &&value)
UpdateProjectVisibilityResult & WithPublicProjectAlias(Aws::String &&value)
UpdateProjectVisibilityResult & WithPublicProjectAlias(const Aws::String &value)
UpdateProjectVisibilityResult & WithProjectVisibility(const ProjectVisibilityType &value)
UpdateProjectVisibilityResult & WithRequestId(const char *value)
UpdateProjectVisibilityResult & WithPublicProjectAlias(const char *value)
void SetProjectVisibility(const ProjectVisibilityType &value)
AWS_CODEBUILD_API UpdateProjectVisibilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateProjectVisibilityResult & WithProjectArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue