AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GenerateServiceLastAccessedDetailsRequest.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/AccessAdvisorUsageGranularityType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IAM
16{
17namespace Model
18{
19
23 {
24 public:
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 "GenerateServiceLastAccessedDetails"; }
32
33 AWS_IAM_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 GenerateServiceLastAccessedDetailsRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
63 inline AccessAdvisorUsageGranularityType GetGranularity() const { return m_granularity; }
64 inline bool GranularityHasBeenSet() const { return m_granularityHasBeenSet; }
65 inline void SetGranularity(AccessAdvisorUsageGranularityType value) { m_granularityHasBeenSet = true; m_granularity = value; }
68 private:
69
70 Aws::String m_arn;
71 bool m_arnHasBeenSet = false;
72
74 bool m_granularityHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IAM
79} // namespace Aws
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GenerateServiceLastAccessedDetailsRequest & WithGranularity(AccessAdvisorUsageGranularityType value)
GenerateServiceLastAccessedDetailsRequest & WithArn(ArnT &&value)
AWS_IAM_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String