AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ResourceId.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeGuruSecurity {
20namespace Model {
21
30 public:
31 AWS_CODEGURUSECURITY_API ResourceId() = default;
32 AWS_CODEGURUSECURITY_API ResourceId(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODEGURUSECURITY_API ResourceId& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetCodeArtifactId() const { return m_codeArtifactId; }
42 inline bool CodeArtifactIdHasBeenSet() const { return m_codeArtifactIdHasBeenSet; }
43 template <typename CodeArtifactIdT = Aws::String>
44 void SetCodeArtifactId(CodeArtifactIdT&& value) {
45 m_codeArtifactIdHasBeenSet = true;
46 m_codeArtifactId = std::forward<CodeArtifactIdT>(value);
47 }
48 template <typename CodeArtifactIdT = Aws::String>
49 ResourceId& WithCodeArtifactId(CodeArtifactIdT&& value) {
50 SetCodeArtifactId(std::forward<CodeArtifactIdT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_codeArtifactId;
56 bool m_codeArtifactIdHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace CodeGuruSecurity
61} // namespace Aws
AWS_CODEGURUSECURITY_API ResourceId()=default
void SetCodeArtifactId(CodeArtifactIdT &&value)
Definition ResourceId.h:44
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEGURUSECURITY_API ResourceId(Aws::Utils::Json::JsonView jsonValue)
ResourceId & WithCodeArtifactId(CodeArtifactIdT &&value)
Definition ResourceId.h:49
AWS_CODEGURUSECURITY_API ResourceId & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCodeArtifactId() const
Definition ResourceId.h:41
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue